Skip to content

Commit

Permalink
Merge branch 'stable' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 10, 2024
2 parents 30cf21e + 96c9676 commit c290dc9
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Tests/DocsXsd/DocsXsdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testXsdValidationPassedWithValidXml($fixtureFile)
*
* @return array<string, array<string, string>>
*/
public function dataValidXsd()
public static function dataValidXsd()
{
return [
'Valid docs example with single standard in the file' => [
Expand Down Expand Up @@ -110,7 +110,7 @@ public function testXsdValidationFailsForInvalidXml($fixtureFile, $expectedStdOu
*
* @return array<string, array<string, string>>
*/
public function dataInvalidXsd()
public static function dataInvalidXsd()
{
return [
'Title attribute too long on <documentation> element' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Check/ColorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function testColors($fixtureDir, $expectedOutput, $exitCode, $src = 'stdo
*
* @return array<string, array<string, string|int>>
*/
public function dataColors()
public static function dataColors()
{
return [
'feature complete - header' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Check/MarkProgressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function testProgress($nrOfFiles, $expectedOutput)
*
* @return array<string, array<string, int|string>>
*/
public function dataProgress()
public static function dataProgress()
{
return [
'single line progress reporting (<= 60 sniffs)' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Check/NoSniffsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testTargetDoesntContainSniffs($fixtureDir)
*
* @return array<string, array<string>>
*/
public function dataTargetDoesntContainSniffs()
public static function dataTargetDoesntContainSniffs()
{
return [
'empty directory' => ['EmptyDir'],
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Check/ValidStandardsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function testFeatureCompleteStandard($fixtureDir, $testDocCount)
*
* @return array<string, array<string, string|int>>
*/
public function dataFeatureCompleteStandard()
public static function dataFeatureCompleteStandard()
{
return [
'feature complete with CSS test files' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Config/GetHelpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function testShowHelpNoColors($command)
*
* @return array<string, array<string, string>>
*/
public function dataShowHelp()
public static function dataShowHelp()
{
return [
'-h' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureComplete/Config/GetVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testShowVersion($command)
*
* @return array<string, array<string, string>>
*/
public function dataShowVersion()
public static function dataShowVersion()
{
return [
'-V' => [
Expand Down
6 changes: 3 additions & 3 deletions Tests/FeatureComplete/Config/MagicMethodsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function testGet($propertyName, $expected)
*
* @return array<string, array<string, string|int|null>>
*/
public function dataGet()
public static function dataGet()
{
return [
'property which doesn\'t exist on the class' => [
Expand Down Expand Up @@ -104,7 +104,7 @@ public function testIsset($propertyName, $expected)
*
* @return array<string, array<string, string|bool>>
*/
public function dataIsset()
public static function dataIsset()
{
return [
'property which doesn\'t exist on the class' => [
Expand Down Expand Up @@ -167,7 +167,7 @@ public function testUnset($propertyName)
*
* @return array<string, array<string>>
*/
public function dataSetUnset()
public static function dataSetUnset()
{
return [
'property which doesn\'t exist on the class' => ['doesnotexist'],
Expand Down
6 changes: 3 additions & 3 deletions Tests/FeatureComplete/Config/ProcessCliCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function testProcessCliCommandUnsupportedArgument($command)
*
* @return array<string, array<string, string>>
*/
public function dataProcessCliCommandUnsupportedArgument()
public static function dataProcessCliCommandUnsupportedArgument()
{
return [
'Unsupported short arguments' => [
Expand Down Expand Up @@ -141,7 +141,7 @@ public function testProcessCliCommand($command, array $expectedChanged, $checkSh
*
* @return array<string, array<string, string|bool|array<string, string|bool|int|array<string>>>>
*/
public function dataProcessCliCommand()
public static function dataProcessCliCommand()
{
/*
* For project root, we only really verify that it has been set as the value will depend
Expand Down Expand Up @@ -402,7 +402,7 @@ public function testProcessCliCommandOutputOnlyArgs($command, $expectedChanged)
*
* @return array<string, array<string, string|array<string, string|bool>>>
*/
public function dataProcessCliCommandOutputOnlyArgs()
public static function dataProcessCliCommandOutputOnlyArgs()
{
/*
* For project root, we only verify that it has been set as the value will depend on the
Expand Down

0 comments on commit c290dc9

Please sign in to comment.