Skip to content

Commit

Permalink
Remove hard dependency to php codesniffer
Browse files Browse the repository at this point in the history
guvra committed Feb 21, 2023
1 parent 95737c7 commit 5db5692
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/autoload.php
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

/**
* Copied from magento.
* @sse https://github.com/magento/magento2/blob/2.4-develop/dev/tests/static/framework/Magento/PhpStan/autoload.php
* @see https://github.com/magento/magento2/blob/2.4.5/dev/tests/static/framework/Magento/PhpStan/autoload.php
* phpcs:disable
*/

@@ -14,8 +14,6 @@
use Magento\Framework\TestFramework\Unit\Autoloader\FactoryGenerator;
use Magento\Framework\TestFramework\Unit\Autoloader\GeneratedClassesAutoloader;

require realpath(__DIR__ . '/../../../../') . '/vendor/squizlabs/php_codesniffer/autoload.php';

if (!defined('GENERATED_TEMP_DIR')) {
define('GENERATED_TEMP_DIR', dirname(__DIR__) . '/tmp');
}
@@ -33,4 +31,3 @@
$generatorIo
);
spl_autoload_register([$generatedCodeAutoloader, 'load']); // @phpstan-ignore-line

0 comments on commit 5db5692

Please sign in to comment.