Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Nov 16, 2021
1 parent 0223048 commit 0aed742
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/installer/src/PostAutoloadDump.php
Expand Up @@ -27,7 +27,7 @@ private static function runUpdate(string $package): void
$scriptsToRun = self::scanDir('vendor/pushword/'.$package.'/src/Installer');
foreach ($scriptsToRun as $i => $script) {
if (! file_exists($isInstalledFile = 'var/installer/'.md5($package.$script))
&& 0 !== substr_compare($script, ($needle = '/install.php'), -\strlen($needle))
&& 'install' !== basename($script, '.php')
) {
echo '~ Executing '.$package.' update ('.$i++.').'.\chr(10);
$className = 'Pushword\\'.$package.'\\Installer\\'.basename($script, '.php');
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon.dist
Expand Up @@ -18,7 +18,6 @@ parameters:
- packages/admin-block-editor/src
- packages/advanced-main-image/src
excludePaths:
- packages/*/src/Installer/install.php
- packages/installer/src/PostInstall.php
symfony:
container_xml_path: /tmp/com.github.pushword.pushword/tests/var/dev/cache/App_KernelDevDebugContainer.xml
Expand Down

0 comments on commit 0aed742

Please sign in to comment.