Skip to content

Commit

Permalink
Remove the workaround to get PHPCS working with 8.0+ (#445)
Browse files Browse the repository at this point in the history
* Remove the workaround to get PHPCS working with 8.0+

* Debugging printer testcase

* Enforce 1.0.1
  • Loading branch information
srtfisher committed Aug 30, 2023
1 parent 538377d commit 9548a94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 2 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"voku/portable-ascii": "^2.0.1"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^1.0",
"alleyinteractive/alley-coding-standards": "^1.0.1",
"guzzlehttp/guzzle": "^7.7",
"league/flysystem-aws-s3-v3": "^1.0",
"mockery/mockery": "^1.6.6",
Expand All @@ -58,8 +58,7 @@
"predis/predis": "^2.2.0",
"squizlabs/php_codesniffer": "^3.7",
"symplify/monorepo-builder": "^10.3.3",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "dev-php-8-1 as 2.3.x-dev"
"szepeviktor/phpstan-wordpress": "^1.3"
},
"replace": {
"mantle-framework/assets": "self.version",
Expand Down Expand Up @@ -138,12 +137,6 @@
"@phpunit"
]
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/alleyinteractive/WordPress-Coding-Standards"
}
],
"minimum-stability": "dev",
"prefer-stable": true
}
1 change: 1 addition & 0 deletions tests/console/generators/test-printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected function lint_code( PhpFile $file, string $file_name ) {
$path,
'-vsn',
'--no-cache',
'--standard=' . dirname( MANTLE_PHPUNIT_INCLUDES_PATH, 2 ) . '/phpcs.xml',
];

// tip: turn off the output buffering for help debugging!
Expand Down

0 comments on commit 9548a94

Please sign in to comment.