From fb269077cf5919b77d8178014d6851071052fdc8 Mon Sep 17 00:00:00 2001 From: prisis Date: Thu, 24 Oct 2019 08:40:19 +0200 Subject: [PATCH 1/5] feat : adding github actions --- .github/workflows/coding-standard.yml | 15 ++++++++++++ .github/workflows/markdown-lint.yml | 14 +++++++++++ .php_cs | 12 +++++++++- .travis.yml | 18 --------------- src/Automatic/AbstractConfigurator.php | 9 ++++++++ src/Automatic/Automatic.php | 9 ++++++++ src/Automatic/Configurator.php | 9 ++++++++ .../ComposerAutoScriptsConfigurator.php | 9 ++++++++ .../ComposerScriptsConfigurator.php | 9 ++++++++ .../CopyFromPackageConfigurator.php | 9 ++++++++ .../Configurator/EnvConfigurator.php | 9 ++++++++ .../Configurator/GitIgnoreConfigurator.php | 9 ++++++++ .../Configurator/Traits/AppendToFileTrait.php | 9 ++++++++ src/Automatic/Container.php | 9 ++++++++ src/Automatic/Contract/Configurator.php | 9 ++++++++ src/Automatic/Contract/Operation.php | 9 ++++++++ .../Contract/PackageConfigurator.php | 9 ++++++++ src/Automatic/Installer/AbstractInstaller.php | 9 ++++++++ .../Installer/ConfiguratorInstaller.php | 9 ++++++++ .../Installer/InstallationManager.php | 9 ++++++++ src/Automatic/Installer/SkeletonInstaller.php | 9 ++++++++ src/Automatic/Lock.php | 9 ++++++++ src/Automatic/Operation/AbstractOperation.php | 9 ++++++++ src/Automatic/Operation/Install.php | 9 ++++++++ src/Automatic/Operation/Uninstall.php | 9 ++++++++ src/Automatic/PackageConfigurator.php | 9 ++++++++ src/Automatic/QuestionFactory.php | 9 ++++++++ src/Automatic/ScriptEvents.php | 9 ++++++++ src/Automatic/ScriptExecutor.php | 9 ++++++++ .../ScriptExtender/ScriptExtender.php | 9 ++++++++ src/Automatic/SkeletonGenerator.php | 9 ++++++++ src/Common/AbstractContainer.php | 9 ++++++++ src/Common/ClassFinder.php | 9 ++++++++ .../Configurator/AbstractConfigurator.php | 9 ++++++++ src/Common/Contract/Configurator.php | 9 ++++++++ src/Common/Contract/Container.php | 9 ++++++++ src/Common/Contract/Exception/Exception.php | 9 ++++++++ .../Exception/InvalidArgumentException.php | 9 ++++++++ .../Contract/Exception/RuntimeException.php | 9 ++++++++ .../Exception/UnexpectedValueException.php | 9 ++++++++ .../Contract/Generator/DefaultGenerator.php | 9 ++++++++ src/Common/Contract/Package.php | 9 ++++++++ src/Common/Contract/Resettable.php | 9 ++++++++ src/Common/Contract/ScriptExtender.php | 9 ++++++++ src/Common/Generator/AbstractGenerator.php | 9 ++++++++ .../Installer/AbstractInstallationManager.php | 9 ++++++++ src/Common/Installer/Installer.php | 9 ++++++++ src/Common/Package.php | 9 ++++++++ src/Common/Path.php | 9 ++++++++ .../ScriptExtender/AbstractScriptExtender.php | 9 ++++++++ .../ScriptExtender/PhpScriptExtender.php | 9 ++++++++ src/Common/Traits/ExpandTargetDirTrait.php | 9 ++++++++ .../Traits/GetGenericPropertyReaderTrait.php | 9 ++++++++ src/Common/Traits/PhpFileMarkerTrait.php | 9 ++++++++ src/Common/Util.php | 9 ++++++++ src/Prefetcher/Cache.php | 9 ++++++++ src/Prefetcher/ComposerRepository.php | 9 ++++++++ src/Prefetcher/Container.php | 9 ++++++++ src/Prefetcher/Contract/LegacyTagsManager.php | 9 ++++++++ src/Prefetcher/Downloader/CurlDownloader.php | 9 ++++++++ .../Downloader/ParallelDownloader.php | 9 ++++++++ src/Prefetcher/LegacyTagsManager.php | 9 ++++++++ src/Prefetcher/Plugin.php | 9 ++++++++ src/Prefetcher/Prefetcher.php | 9 ++++++++ .../TruncatedComposerRepository.php | 9 ++++++++ src/Prefetcher/alias.php | 9 ++++++++ src/Security/Audit.php | 9 ++++++++ src/Security/Command/AuditCommand.php | 13 +++++++++-- .../Command/Formatter/JsonFormatter.php | 9 ++++++++ .../Command/Formatter/SimpleFormatter.php | 9 ++++++++ .../Command/Formatter/TextFormatter.php | 9 ++++++++ src/Security/CommandProvider.php | 9 ++++++++ src/Security/Contract/Command/Formatter.php | 9 ++++++++ src/Security/Contract/Downloader.php | 9 ++++++++ src/Security/Contract/Exception/Exception.php | 9 ++++++++ .../Contract/Exception/RuntimeException.php | 9 ++++++++ .../Downloader/AbstractDownloader.php | 9 ++++++++ .../Downloader/ComposerDownloader.php | 9 ++++++++ src/Security/Downloader/CurlDownloader.php | 9 ++++++++ src/Security/Plugin.php | 9 ++++++++ src/Security/ScriptEvents.php | 9 ++++++++ src/Security/Util.php | 9 ++++++++ tests/Automatic/AbstractConfiguratorTest.php | 9 ++++++++ tests/Automatic/AutomaticTest.php | 9 ++++++++ .../ComposerAutoScriptsConfiguratorTest.php | 9 ++++++++ .../ComposerScriptsConfiguratorTest.php | 9 ++++++++ .../CopyFromPackageConfiguratorTest.php | 9 ++++++++ .../Configurator/EnvConfiguratorTest.php | 17 ++++++++++---- .../GitignoreConfiguratorTest.php | 9 ++++++++ tests/Automatic/ConfiguratorTest.php | 9 ++++++++ tests/Automatic/ContainerTest.php | 9 ++++++++ .../Automatic/Fixture/ComposerJsonFactory.php | 9 ++++++++ .../prisis/install/Configurator.php | 9 ++++++++ .../Configurator/prisis/no/NoConfigurator.php | 9 ++++++++ .../prisis/update/UpdateConfigurator.php | 9 ++++++++ .../Fixture/ConsoleFixtureGenerator.php | 9 ++++++++ .../FrameworkDefaultFixtureGenerator.php | 9 ++++++++ tests/Automatic/Fixture/MockConfigurator.php | 9 ++++++++ .../Automatic/TestExecutor.php | 9 ++++++++ tests/Automatic/FunctionMock.php | 9 ++++++++ .../Installer/AbstractInstallerTest.php | 9 ++++++++ .../Installer/ConfiguratorInstallerTest.php | 9 ++++++++ .../Installer/InstallationManagerTest.php | 9 ++++++++ .../Installer/SkeletonInstallerTest.php | 9 ++++++++ tests/Automatic/LockTest.php | 9 ++++++++ tests/Automatic/Operation/InstallTest.php | 9 ++++++++ .../Traits/ArrangeOperationsClasses.php | 9 ++++++++ tests/Automatic/Operation/UninstallTest.php | 9 ++++++++ tests/Automatic/PackageConfiguratorTest.php | 9 ++++++++ tests/Automatic/QuestionFactoryTest.php | 9 ++++++++ tests/Automatic/ScriptExecutorTest.php | 9 ++++++++ .../ScriptExtender/ScriptExtenderTest.php | 9 ++++++++ tests/Automatic/SkeletonGeneratorTest.php | 9 ++++++++ .../Traits/ArrangeComposerClasses.php | 9 ++++++++ tests/Common/ClassFinderTest.php | 9 ++++++++ tests/Common/ContainerTest.php | 9 ++++++++ tests/Common/Fixture/Finder/AbstractClass.php | 9 ++++++++ tests/Common/Fixture/Finder/DummyClass.php | 9 ++++++++ tests/Common/Fixture/Finder/DummyClassTwo.php | 9 ++++++++ .../Common/Fixture/Finder/DummyInterface.php | 9 ++++++++ tests/Common/Fixture/Finder/FooTrait.php | 9 ++++++++ .../Finder/Nested/DummyClassNested.php | 9 ++++++++ .../Finder/StaticFunctionAndClasses.php | 9 ++++++++ tests/Common/Installer/InstallerTest.php | 9 ++++++++ tests/Common/PackageTest.php | 9 ++++++++ tests/Common/PathTest.php | 9 ++++++++ .../ScriptExtender/PhpScriptExtenderTest.php | 9 ++++++++ .../Traits/ExpandTargetDirTraitTest.php | 9 ++++++++ .../Common/Traits/PhpFileMarkerTraitTest.php | 9 ++++++++ tests/Common/UtilTest.php | 9 ++++++++ tests/Internal/MirrorClassTest.php | 9 ++++++++ tests/Internal/MirrorSettings.php | 23 +++++++++++++------ tests/Prefetcher/CacheTest.php | 9 ++++++++ tests/Prefetcher/ContainerTest.php | 9 ++++++++ .../Downloader/ParallelDownloaderTest.php | 9 ++++++++ tests/Prefetcher/FunctionMock.php | 9 ++++++++ tests/Prefetcher/LegacyTagsManagerTest.php | 9 ++++++++ tests/Prefetcher/PluginTest.php | 9 ++++++++ tests/Security/AuditTest.php | 9 ++++++++ tests/Security/Command/AuditCommandTest.php | 9 ++++++++ tests/Security/CommandProviderTest.php | 9 ++++++++ .../Downloader/ComposerDownloaderTest.php | 9 ++++++++ .../Downloader/CurlDownloaderTest.php | 9 ++++++++ tests/Security/PluginTest.php | 9 ++++++++ tests/Security/UtilTest.php | 9 ++++++++ 145 files changed, 1322 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/coding-standard.yml create mode 100644 .github/workflows/markdown-lint.yml diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml new file mode 100644 index 00000000..823a2629 --- /dev/null +++ b/.github/workflows/coding-standard.yml @@ -0,0 +1,15 @@ +name: Coding Standard + +on: [push, pull_request] + +jobs: + php-cs-fixer: + name: 'PHP-CS-Fixer' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Setup PHP + uses: shivammathur/setup-php@master + with: + php-version: 7.2 + - run: composer global require narrowspark/coding-standard && composer cs-check diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml new file mode 100644 index 00000000..5b676511 --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,14 @@ +name: Coding Standard + +on: [push, pull_request] + +jobs: + text-lint: + name: 'Markdown lint' + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '10.16.0' + - run: npm install + - run: npm run lint diff --git a/.php_cs b/.php_cs index 249cf063..39e5e5d9 100644 --- a/.php_cs +++ b/.php_cs @@ -1,7 +1,16 @@ + +This source file is subject to the MIT license that is bundled +with this source code in the file LICENSE. +EOF; + +$config = new Config($header, [ 'native_function_invocation' => [ 'exclude' => [ 'getcwd', @@ -12,6 +21,7 @@ $config = new Config(null, [ 'final_class' => false, 'PhpCsFixerCustomFixers/no_commented_out_code' => false, ]); + $config->getFinder() ->files() ->in(__DIR__) diff --git a/.travis.yml b/.travis.yml index d26a7b77..3778f53b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,24 +66,6 @@ jobs: php: nightly env: PHPUNIT=true SETUP=high REMOVE_XDEBUG=true COMPOSER_VERSION=1.9.0 - - stage: Coding standard - php: 7.2 - env: SETUP=high REMOVE_XDEBUG=true COMPOSER_VERSION=1.9.0 - script: - - composer cs-check - - - stage: Coding standard - php: 7.2 - before_install: - - nvm install - - nvm use - install: - - npm install - before_script: - - echo "skip" - script: - - npm run lint - - stage: Static Analysis php: 7.2 env: REMOVE_XDEBUG=false SETUP=high COMPOSER_VERSION=1.9.0 diff --git a/src/Automatic/AbstractConfigurator.php b/src/Automatic/AbstractConfigurator.php index 256ea85c..37334791 100644 --- a/src/Automatic/AbstractConfigurator.php +++ b/src/Automatic/AbstractConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\Composer; diff --git a/src/Automatic/Automatic.php b/src/Automatic/Automatic.php index 98fa7b21..cd89b75f 100644 --- a/src/Automatic/Automatic.php +++ b/src/Automatic/Automatic.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\Command\GlobalCommand; diff --git a/src/Automatic/Configurator.php b/src/Automatic/Configurator.php index 51ed8ca9..7ff0bcef 100644 --- a/src/Automatic/Configurator.php +++ b/src/Automatic/Configurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/src/Automatic/Configurator/ComposerAutoScriptsConfigurator.php b/src/Automatic/Configurator/ComposerAutoScriptsConfigurator.php index 1fc7835f..56666627 100644 --- a/src/Automatic/Configurator/ComposerAutoScriptsConfigurator.php +++ b/src/Automatic/Configurator/ComposerAutoScriptsConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator; use Composer\Composer; diff --git a/src/Automatic/Configurator/ComposerScriptsConfigurator.php b/src/Automatic/Configurator/ComposerScriptsConfigurator.php index 7a6b0d50..ba43f75d 100644 --- a/src/Automatic/Configurator/ComposerScriptsConfigurator.php +++ b/src/Automatic/Configurator/ComposerScriptsConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator; use Composer\Composer; diff --git a/src/Automatic/Configurator/CopyFromPackageConfigurator.php b/src/Automatic/Configurator/CopyFromPackageConfigurator.php index 5211aa28..e9d42bac 100644 --- a/src/Automatic/Configurator/CopyFromPackageConfigurator.php +++ b/src/Automatic/Configurator/CopyFromPackageConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator; use Narrowspark\Automatic\Common\Configurator\AbstractConfigurator; diff --git a/src/Automatic/Configurator/EnvConfigurator.php b/src/Automatic/Configurator/EnvConfigurator.php index fdc4351c..577af98d 100644 --- a/src/Automatic/Configurator/EnvConfigurator.php +++ b/src/Automatic/Configurator/EnvConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator; use Narrowspark\Automatic\Common\Configurator\AbstractConfigurator; diff --git a/src/Automatic/Configurator/GitIgnoreConfigurator.php b/src/Automatic/Configurator/GitIgnoreConfigurator.php index fb4a0241..cc692097 100644 --- a/src/Automatic/Configurator/GitIgnoreConfigurator.php +++ b/src/Automatic/Configurator/GitIgnoreConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator; use Narrowspark\Automatic\Common\Configurator\AbstractConfigurator; diff --git a/src/Automatic/Configurator/Traits/AppendToFileTrait.php b/src/Automatic/Configurator/Traits/AppendToFileTrait.php index 57aec992..5db9b2aa 100644 --- a/src/Automatic/Configurator/Traits/AppendToFileTrait.php +++ b/src/Automatic/Configurator/Traits/AppendToFileTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Configurator\Traits; use Symfony\Component\Filesystem\Exception\IOException; diff --git a/src/Automatic/Container.php b/src/Automatic/Container.php index f2cc78e9..c3e63cee 100644 --- a/src/Automatic/Container.php +++ b/src/Automatic/Container.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\Composer; diff --git a/src/Automatic/Contract/Configurator.php b/src/Automatic/Contract/Configurator.php index 3d4dd39a..a3c59627 100644 --- a/src/Automatic/Contract/Configurator.php +++ b/src/Automatic/Contract/Configurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Contract; use Narrowspark\Automatic\Common\Contract\Package as PackageContract; diff --git a/src/Automatic/Contract/Operation.php b/src/Automatic/Contract/Operation.php index 6e753d59..d468859a 100644 --- a/src/Automatic/Contract/Operation.php +++ b/src/Automatic/Contract/Operation.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Contract; use Composer\DependencyResolver\Operation\OperationInterface; diff --git a/src/Automatic/Contract/PackageConfigurator.php b/src/Automatic/Contract/PackageConfigurator.php index d47329be..1f5c0c64 100644 --- a/src/Automatic/Contract/PackageConfigurator.php +++ b/src/Automatic/Contract/PackageConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Contract; interface PackageConfigurator extends Configurator diff --git a/src/Automatic/Installer/AbstractInstaller.php b/src/Automatic/Installer/AbstractInstaller.php index c250010f..a47883ae 100644 --- a/src/Automatic/Installer/AbstractInstaller.php +++ b/src/Automatic/Installer/AbstractInstaller.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Installer; use Composer\Composer; diff --git a/src/Automatic/Installer/ConfiguratorInstaller.php b/src/Automatic/Installer/ConfiguratorInstaller.php index 78ca85d2..4ea36f05 100644 --- a/src/Automatic/Installer/ConfiguratorInstaller.php +++ b/src/Automatic/Installer/ConfiguratorInstaller.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Installer; use Composer\Package\PackageInterface; diff --git a/src/Automatic/Installer/InstallationManager.php b/src/Automatic/Installer/InstallationManager.php index 5e64ab00..fdb2da77 100644 --- a/src/Automatic/Installer/InstallationManager.php +++ b/src/Automatic/Installer/InstallationManager.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Installer; use Composer\Factory; diff --git a/src/Automatic/Installer/SkeletonInstaller.php b/src/Automatic/Installer/SkeletonInstaller.php index 6daf938d..1bb50475 100644 --- a/src/Automatic/Installer/SkeletonInstaller.php +++ b/src/Automatic/Installer/SkeletonInstaller.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Installer; use Composer\Package\PackageInterface; diff --git a/src/Automatic/Lock.php b/src/Automatic/Lock.php index 311ad7f0..80a0d06e 100644 --- a/src/Automatic/Lock.php +++ b/src/Automatic/Lock.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\Json\JsonFile; diff --git a/src/Automatic/Operation/AbstractOperation.php b/src/Automatic/Operation/AbstractOperation.php index d12fae0f..cd26cef5 100644 --- a/src/Automatic/Operation/AbstractOperation.php +++ b/src/Automatic/Operation/AbstractOperation.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Operation; use Composer\IO\IOInterface; diff --git a/src/Automatic/Operation/Install.php b/src/Automatic/Operation/Install.php index 396c2bb6..cb5b9d85 100644 --- a/src/Automatic/Operation/Install.php +++ b/src/Automatic/Operation/Install.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Operation; use Composer\DependencyResolver\Operation\InstallOperation; diff --git a/src/Automatic/Operation/Uninstall.php b/src/Automatic/Operation/Uninstall.php index 2abe8e0e..a4bd7658 100644 --- a/src/Automatic/Operation/Uninstall.php +++ b/src/Automatic/Operation/Uninstall.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Operation; use Composer\DependencyResolver\Operation\OperationInterface; diff --git a/src/Automatic/PackageConfigurator.php b/src/Automatic/PackageConfigurator.php index 188c808a..3f5ca282 100644 --- a/src/Automatic/PackageConfigurator.php +++ b/src/Automatic/PackageConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/src/Automatic/QuestionFactory.php b/src/Automatic/QuestionFactory.php index 1d74896e..1ac2507a 100644 --- a/src/Automatic/QuestionFactory.php +++ b/src/Automatic/QuestionFactory.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Narrowspark\Automatic\Common\Contract\Exception\InvalidArgumentException; diff --git a/src/Automatic/ScriptEvents.php b/src/Automatic/ScriptEvents.php index 39098d04..e3f3fd0e 100644 --- a/src/Automatic/ScriptEvents.php +++ b/src/Automatic/ScriptEvents.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; final class ScriptEvents diff --git a/src/Automatic/ScriptExecutor.php b/src/Automatic/ScriptExecutor.php index a46ab2b1..dc748fd7 100644 --- a/src/Automatic/ScriptExecutor.php +++ b/src/Automatic/ScriptExecutor.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\Composer; diff --git a/src/Automatic/ScriptExtender/ScriptExtender.php b/src/Automatic/ScriptExtender/ScriptExtender.php index a5111023..7c8bb6b0 100644 --- a/src/Automatic/ScriptExtender/ScriptExtender.php +++ b/src/Automatic/ScriptExtender/ScriptExtender.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\ScriptExtender; use Narrowspark\Automatic\Common\ScriptExtender\AbstractScriptExtender; diff --git a/src/Automatic/SkeletonGenerator.php b/src/Automatic/SkeletonGenerator.php index 9fdf31bc..f5ad863b 100644 --- a/src/Automatic/SkeletonGenerator.php +++ b/src/Automatic/SkeletonGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; use Composer\IO\IOInterface; diff --git a/src/Common/AbstractContainer.php b/src/Common/AbstractContainer.php index 62997aaf..07146d0a 100644 --- a/src/Common/AbstractContainer.php +++ b/src/Common/AbstractContainer.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common; use Narrowspark\Automatic\Common\Contract\Container as ContainerContract; diff --git a/src/Common/ClassFinder.php b/src/Common/ClassFinder.php index fdd8624c..db80e7e3 100644 --- a/src/Common/ClassFinder.php +++ b/src/Common/ClassFinder.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common; use Closure; diff --git a/src/Common/Configurator/AbstractConfigurator.php b/src/Common/Configurator/AbstractConfigurator.php index 94a386e0..2518bf47 100644 --- a/src/Common/Configurator/AbstractConfigurator.php +++ b/src/Common/Configurator/AbstractConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Configurator; use Composer\Composer; diff --git a/src/Common/Contract/Configurator.php b/src/Common/Contract/Configurator.php index 413c4736..18619115 100644 --- a/src/Common/Contract/Configurator.php +++ b/src/Common/Contract/Configurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract; interface Configurator diff --git a/src/Common/Contract/Container.php b/src/Common/Contract/Container.php index cc06a39e..0b1ededd 100644 --- a/src/Common/Contract/Container.php +++ b/src/Common/Contract/Container.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract; interface Container diff --git a/src/Common/Contract/Exception/Exception.php b/src/Common/Contract/Exception/Exception.php index 19701da0..1f71fe61 100644 --- a/src/Common/Contract/Exception/Exception.php +++ b/src/Common/Contract/Exception/Exception.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract\Exception; interface Exception extends \Throwable diff --git a/src/Common/Contract/Exception/InvalidArgumentException.php b/src/Common/Contract/Exception/InvalidArgumentException.php index ebd8d899..37ca28bd 100644 --- a/src/Common/Contract/Exception/InvalidArgumentException.php +++ b/src/Common/Contract/Exception/InvalidArgumentException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract\Exception; use InvalidArgumentException as BaseInvalidArgumentException; diff --git a/src/Common/Contract/Exception/RuntimeException.php b/src/Common/Contract/Exception/RuntimeException.php index c20bec35..f6d47ce2 100644 --- a/src/Common/Contract/Exception/RuntimeException.php +++ b/src/Common/Contract/Exception/RuntimeException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract\Exception; use RuntimeException as BaseRuntimeException; diff --git a/src/Common/Contract/Exception/UnexpectedValueException.php b/src/Common/Contract/Exception/UnexpectedValueException.php index 8e08469f..31e2c912 100644 --- a/src/Common/Contract/Exception/UnexpectedValueException.php +++ b/src/Common/Contract/Exception/UnexpectedValueException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract\Exception; use UnexpectedValueException as BaseUnexpectedValueException; diff --git a/src/Common/Contract/Generator/DefaultGenerator.php b/src/Common/Contract/Generator/DefaultGenerator.php index a74cd4bf..702d7a86 100644 --- a/src/Common/Contract/Generator/DefaultGenerator.php +++ b/src/Common/Contract/Generator/DefaultGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract\Generator; /** diff --git a/src/Common/Contract/Package.php b/src/Common/Contract/Package.php index 54c1fd0f..f2a9f0a7 100644 --- a/src/Common/Contract/Package.php +++ b/src/Common/Contract/Package.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract; interface Package diff --git a/src/Common/Contract/Resettable.php b/src/Common/Contract/Resettable.php index 6d2a6f60..b56cf6d6 100644 --- a/src/Common/Contract/Resettable.php +++ b/src/Common/Contract/Resettable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract; interface Resettable diff --git a/src/Common/Contract/ScriptExtender.php b/src/Common/Contract/ScriptExtender.php index 66186c20..1b8aacd9 100644 --- a/src/Common/Contract/ScriptExtender.php +++ b/src/Common/Contract/ScriptExtender.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Contract; interface ScriptExtender diff --git a/src/Common/Generator/AbstractGenerator.php b/src/Common/Generator/AbstractGenerator.php index a5a90c68..ec615d16 100644 --- a/src/Common/Generator/AbstractGenerator.php +++ b/src/Common/Generator/AbstractGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Generator; use Symfony\Component\Filesystem\Filesystem; diff --git a/src/Common/Installer/AbstractInstallationManager.php b/src/Common/Installer/AbstractInstallationManager.php index a31f7e9e..5daaad03 100644 --- a/src/Common/Installer/AbstractInstallationManager.php +++ b/src/Common/Installer/AbstractInstallationManager.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Installer; use Composer\Composer; diff --git a/src/Common/Installer/Installer.php b/src/Common/Installer/Installer.php index f6fb105d..46cc46c3 100644 --- a/src/Common/Installer/Installer.php +++ b/src/Common/Installer/Installer.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Installer; use Composer\Composer; diff --git a/src/Common/Package.php b/src/Common/Package.php index c229115c..bf9c89a2 100644 --- a/src/Common/Package.php +++ b/src/Common/Package.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common; use Narrowspark\Automatic\Common\Contract\Package as PackageContract; diff --git a/src/Common/Path.php b/src/Common/Path.php index 4ce417ed..a3427663 100644 --- a/src/Common/Path.php +++ b/src/Common/Path.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common; final class Path diff --git a/src/Common/ScriptExtender/AbstractScriptExtender.php b/src/Common/ScriptExtender/AbstractScriptExtender.php index 38da76a0..7301c722 100644 --- a/src/Common/ScriptExtender/AbstractScriptExtender.php +++ b/src/Common/ScriptExtender/AbstractScriptExtender.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\ScriptExtender; use Composer\Composer; diff --git a/src/Common/ScriptExtender/PhpScriptExtender.php b/src/Common/ScriptExtender/PhpScriptExtender.php index b503df5c..d98bcf5a 100644 --- a/src/Common/ScriptExtender/PhpScriptExtender.php +++ b/src/Common/ScriptExtender/PhpScriptExtender.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\ScriptExtender; use Composer\Util\ProcessExecutor; diff --git a/src/Common/Traits/ExpandTargetDirTrait.php b/src/Common/Traits/ExpandTargetDirTrait.php index 5f957dcf..8c19b0e0 100644 --- a/src/Common/Traits/ExpandTargetDirTrait.php +++ b/src/Common/Traits/ExpandTargetDirTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Traits; trait ExpandTargetDirTrait diff --git a/src/Common/Traits/GetGenericPropertyReaderTrait.php b/src/Common/Traits/GetGenericPropertyReaderTrait.php index 1e171a5b..ce723dea 100644 --- a/src/Common/Traits/GetGenericPropertyReaderTrait.php +++ b/src/Common/Traits/GetGenericPropertyReaderTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Traits; use Closure; diff --git a/src/Common/Traits/PhpFileMarkerTrait.php b/src/Common/Traits/PhpFileMarkerTrait.php index c26cc6e3..30491448 100644 --- a/src/Common/Traits/PhpFileMarkerTrait.php +++ b/src/Common/Traits/PhpFileMarkerTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common\Traits; trait PhpFileMarkerTrait diff --git a/src/Common/Util.php b/src/Common/Util.php index bbe0d4cb..c78ef3ae 100644 --- a/src/Common/Util.php +++ b/src/Common/Util.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Common; use Composer\Factory; diff --git a/src/Prefetcher/Cache.php b/src/Prefetcher/Cache.php index ee32eceb..01636cd7 100644 --- a/src/Prefetcher/Cache.php +++ b/src/Prefetcher/Cache.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Composer\Cache as BaseComposerCache; diff --git a/src/Prefetcher/ComposerRepository.php b/src/Prefetcher/ComposerRepository.php index 13673d0e..0336813e 100644 --- a/src/Prefetcher/ComposerRepository.php +++ b/src/Prefetcher/ComposerRepository.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Composer\Repository\ComposerRepository as BaseComposerRepository; diff --git a/src/Prefetcher/Container.php b/src/Prefetcher/Container.php index 19ffb75f..256a7e4c 100644 --- a/src/Prefetcher/Container.php +++ b/src/Prefetcher/Container.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Composer\Composer; diff --git a/src/Prefetcher/Contract/LegacyTagsManager.php b/src/Prefetcher/Contract/LegacyTagsManager.php index c1de1978..595c5317 100644 --- a/src/Prefetcher/Contract/LegacyTagsManager.php +++ b/src/Prefetcher/Contract/LegacyTagsManager.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Contract; use Narrowspark\Automatic\Common\Contract\Resettable as ResettableContract; diff --git a/src/Prefetcher/Downloader/CurlDownloader.php b/src/Prefetcher/Downloader/CurlDownloader.php index 3b351230..8ff92b3d 100644 --- a/src/Prefetcher/Downloader/CurlDownloader.php +++ b/src/Prefetcher/Downloader/CurlDownloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Downloader; use Composer\Downloader\TransportException; diff --git a/src/Prefetcher/Downloader/ParallelDownloader.php b/src/Prefetcher/Downloader/ParallelDownloader.php index c46db94c..d61c9dfc 100644 --- a/src/Prefetcher/Downloader/ParallelDownloader.php +++ b/src/Prefetcher/Downloader/ParallelDownloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Downloader; use Composer\Config; diff --git a/src/Prefetcher/LegacyTagsManager.php b/src/Prefetcher/LegacyTagsManager.php index a201fb5a..83a6b672 100644 --- a/src/Prefetcher/LegacyTagsManager.php +++ b/src/Prefetcher/LegacyTagsManager.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Composer\IO\IOInterface; diff --git a/src/Prefetcher/Plugin.php b/src/Prefetcher/Plugin.php index a491f5e4..6ec8d530 100644 --- a/src/Prefetcher/Plugin.php +++ b/src/Prefetcher/Plugin.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Closure; diff --git a/src/Prefetcher/Prefetcher.php b/src/Prefetcher/Prefetcher.php index 55238cb8..67ca1cb9 100644 --- a/src/Prefetcher/Prefetcher.php +++ b/src/Prefetcher/Prefetcher.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Closure; diff --git a/src/Prefetcher/TruncatedComposerRepository.php b/src/Prefetcher/TruncatedComposerRepository.php index 1bb1e361..55a81a87 100644 --- a/src/Prefetcher/TruncatedComposerRepository.php +++ b/src/Prefetcher/TruncatedComposerRepository.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; use Composer\Config; diff --git a/src/Prefetcher/alias.php b/src/Prefetcher/alias.php index d70b0fd1..7953b991 100644 --- a/src/Prefetcher/alias.php +++ b/src/Prefetcher/alias.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Exception\Exception::class, Narrowspark\Automatic\Common\Contract\Exception\Exception::class); \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Exception\InvalidArgumentException::class, Narrowspark\Automatic\Common\Contract\Exception\InvalidArgumentException::class); \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Container::class, Narrowspark\Automatic\Common\Contract\Container::class); diff --git a/src/Security/Audit.php b/src/Security/Audit.php index c3fbf5a8..53f9cd68 100644 --- a/src/Security/Audit.php +++ b/src/Security/Audit.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security; use Composer\IO\IOInterface; diff --git a/src/Security/Command/AuditCommand.php b/src/Security/Command/AuditCommand.php index 4af9d578..7f987bcc 100644 --- a/src/Security/Command/AuditCommand.php +++ b/src/Security/Command/AuditCommand.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Command; use Composer\Command\BaseCommand; @@ -42,8 +51,8 @@ protected function configure(): void ->setDescription('Checks security issues in your project dependencies') ->setHelp( <<<'EOF' -The %command.name% command looks for security issues in the project dependencies. -EOF + The %command.name% command looks for security issues in the project dependencies. + EOF ); } diff --git a/src/Security/Command/Formatter/JsonFormatter.php b/src/Security/Command/Formatter/JsonFormatter.php index 6a934cd5..3173ea6f 100644 --- a/src/Security/Command/Formatter/JsonFormatter.php +++ b/src/Security/Command/Formatter/JsonFormatter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Command\Formatter; use Narrowspark\Automatic\Security\Contract\Command\Formatter as FormatterContract; diff --git a/src/Security/Command/Formatter/SimpleFormatter.php b/src/Security/Command/Formatter/SimpleFormatter.php index fcfbc6a4..6801f9bc 100644 --- a/src/Security/Command/Formatter/SimpleFormatter.php +++ b/src/Security/Command/Formatter/SimpleFormatter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Command\Formatter; use Narrowspark\Automatic\Security\Contract\Command\Formatter as FormatterContract; diff --git a/src/Security/Command/Formatter/TextFormatter.php b/src/Security/Command/Formatter/TextFormatter.php index fe5e7487..c1cf7a23 100644 --- a/src/Security/Command/Formatter/TextFormatter.php +++ b/src/Security/Command/Formatter/TextFormatter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Command\Formatter; use Narrowspark\Automatic\Security\Contract\Command\Formatter as FormatterContract; diff --git a/src/Security/CommandProvider.php b/src/Security/CommandProvider.php index 7f6eba6e..f65520e5 100644 --- a/src/Security/CommandProvider.php +++ b/src/Security/CommandProvider.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security; use Composer\Plugin\Capability\CommandProvider as CommandProviderContract; diff --git a/src/Security/Contract/Command/Formatter.php b/src/Security/Contract/Command/Formatter.php index c305a704..c6e40fef 100644 --- a/src/Security/Contract/Command/Formatter.php +++ b/src/Security/Contract/Command/Formatter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Contract\Command; use Symfony\Component\Console\Style\SymfonyStyle; diff --git a/src/Security/Contract/Downloader.php b/src/Security/Contract/Downloader.php index 76ed7d63..e34c707d 100644 --- a/src/Security/Contract/Downloader.php +++ b/src/Security/Contract/Downloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Contract; interface Downloader diff --git a/src/Security/Contract/Exception/Exception.php b/src/Security/Contract/Exception/Exception.php index 353bad81..eb100731 100644 --- a/src/Security/Contract/Exception/Exception.php +++ b/src/Security/Contract/Exception/Exception.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Contract\Exception; interface Exception extends \Throwable diff --git a/src/Security/Contract/Exception/RuntimeException.php b/src/Security/Contract/Exception/RuntimeException.php index f02026db..105461d8 100644 --- a/src/Security/Contract/Exception/RuntimeException.php +++ b/src/Security/Contract/Exception/RuntimeException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Contract\Exception; use RuntimeException as BaseRuntimeException; diff --git a/src/Security/Downloader/AbstractDownloader.php b/src/Security/Downloader/AbstractDownloader.php index b6da9646..fb3215df 100644 --- a/src/Security/Downloader/AbstractDownloader.php +++ b/src/Security/Downloader/AbstractDownloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Downloader; use Narrowspark\Automatic\Security\Contract\Downloader as DownloaderContract; diff --git a/src/Security/Downloader/ComposerDownloader.php b/src/Security/Downloader/ComposerDownloader.php index f98ed6ce..12590a66 100644 --- a/src/Security/Downloader/ComposerDownloader.php +++ b/src/Security/Downloader/ComposerDownloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Downloader; use Composer\CaBundle\CaBundle; diff --git a/src/Security/Downloader/CurlDownloader.php b/src/Security/Downloader/CurlDownloader.php index 1f83cbbd..187901a8 100644 --- a/src/Security/Downloader/CurlDownloader.php +++ b/src/Security/Downloader/CurlDownloader.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Downloader; use Composer\CaBundle\CaBundle; diff --git a/src/Security/Plugin.php b/src/Security/Plugin.php index b6048c55..2f5b88e7 100644 --- a/src/Security/Plugin.php +++ b/src/Security/Plugin.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security; use Composer\Composer; diff --git a/src/Security/ScriptEvents.php b/src/Security/ScriptEvents.php index 11ee5910..810f56b8 100644 --- a/src/Security/ScriptEvents.php +++ b/src/Security/ScriptEvents.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security; final class ScriptEvents diff --git a/src/Security/Util.php b/src/Security/Util.php index 54596165..52cec267 100644 --- a/src/Security/Util.php +++ b/src/Security/Util.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security; use Composer\Factory; diff --git a/tests/Automatic/AbstractConfiguratorTest.php b/tests/Automatic/AbstractConfiguratorTest.php index 39cb3a0c..fad2ce89 100644 --- a/tests/Automatic/AbstractConfiguratorTest.php +++ b/tests/Automatic/AbstractConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\Composer; diff --git a/tests/Automatic/AutomaticTest.php b/tests/Automatic/AutomaticTest.php index cbb3ed3c..a3b1991b 100644 --- a/tests/Automatic/AutomaticTest.php +++ b/tests/Automatic/AutomaticTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\Composer; diff --git a/tests/Automatic/Configurator/ComposerAutoScriptsConfiguratorTest.php b/tests/Automatic/Configurator/ComposerAutoScriptsConfiguratorTest.php index a298336f..66e8b731 100644 --- a/tests/Automatic/Configurator/ComposerAutoScriptsConfiguratorTest.php +++ b/tests/Automatic/Configurator/ComposerAutoScriptsConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Configurator; use Composer\Composer; diff --git a/tests/Automatic/Configurator/ComposerScriptsConfiguratorTest.php b/tests/Automatic/Configurator/ComposerScriptsConfiguratorTest.php index c917099d..9a8e41fe 100644 --- a/tests/Automatic/Configurator/ComposerScriptsConfiguratorTest.php +++ b/tests/Automatic/Configurator/ComposerScriptsConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Configurator; use Composer\Composer; diff --git a/tests/Automatic/Configurator/CopyFromPackageConfiguratorTest.php b/tests/Automatic/Configurator/CopyFromPackageConfiguratorTest.php index 8c390c74..0d02aabf 100644 --- a/tests/Automatic/Configurator/CopyFromPackageConfiguratorTest.php +++ b/tests/Automatic/Configurator/CopyFromPackageConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Configurator; use Composer\Composer; diff --git a/tests/Automatic/Configurator/EnvConfiguratorTest.php b/tests/Automatic/Configurator/EnvConfiguratorTest.php index 40247675..8c45a190 100644 --- a/tests/Automatic/Configurator/EnvConfiguratorTest.php +++ b/tests/Automatic/Configurator/EnvConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Configurator; use Composer\Composer; @@ -146,14 +155,14 @@ public function testUnconfigure(): void self::assertStringEqualsFile( $this->envDistPath, <<<'EOF' - -EOF + + EOF ); self::assertStringEqualsFile( $this->envPath, <<<'EOF' - -EOF + + EOF ); } } diff --git a/tests/Automatic/Configurator/GitignoreConfiguratorTest.php b/tests/Automatic/Configurator/GitignoreConfiguratorTest.php index d69f00b9..c57e1e01 100644 --- a/tests/Automatic/Configurator/GitignoreConfiguratorTest.php +++ b/tests/Automatic/Configurator/GitignoreConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Configurator; use Composer\Composer; diff --git a/tests/Automatic/ConfiguratorTest.php b/tests/Automatic/ConfiguratorTest.php index 25a06e59..233296f0 100644 --- a/tests/Automatic/ConfiguratorTest.php +++ b/tests/Automatic/ConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\IO\IOInterface; diff --git a/tests/Automatic/ContainerTest.php b/tests/Automatic/ContainerTest.php index 6b4353d0..269bbd1c 100644 --- a/tests/Automatic/ContainerTest.php +++ b/tests/Automatic/ContainerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\Composer; diff --git a/tests/Automatic/Fixture/ComposerJsonFactory.php b/tests/Automatic/Fixture/ComposerJsonFactory.php index 44d35c0e..9315f765 100644 --- a/tests/Automatic/Fixture/ComposerJsonFactory.php +++ b/tests/Automatic/Fixture/ComposerJsonFactory.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Fixture; final class ComposerJsonFactory diff --git a/tests/Automatic/Fixture/Configurator/prisis/install/Configurator.php b/tests/Automatic/Fixture/Configurator/prisis/install/Configurator.php index 1912be57..37f12cff 100644 --- a/tests/Automatic/Fixture/Configurator/prisis/install/Configurator.php +++ b/tests/Automatic/Fixture/Configurator/prisis/install/Configurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Test; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Automatic/Fixture/Configurator/prisis/no/NoConfigurator.php b/tests/Automatic/Fixture/Configurator/prisis/no/NoConfigurator.php index 32299fc7..8bd973a9 100644 --- a/tests/Automatic/Fixture/Configurator/prisis/no/NoConfigurator.php +++ b/tests/Automatic/Fixture/Configurator/prisis/no/NoConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Test; final class NoConfigurator diff --git a/tests/Automatic/Fixture/Configurator/prisis/update/UpdateConfigurator.php b/tests/Automatic/Fixture/Configurator/prisis/update/UpdateConfigurator.php index 447cc32b..95a461d1 100644 --- a/tests/Automatic/Fixture/Configurator/prisis/update/UpdateConfigurator.php +++ b/tests/Automatic/Fixture/Configurator/prisis/update/UpdateConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Test; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Automatic/Fixture/ConsoleFixtureGenerator.php b/tests/Automatic/Fixture/ConsoleFixtureGenerator.php index 157955ab..efb306ef 100644 --- a/tests/Automatic/Fixture/ConsoleFixtureGenerator.php +++ b/tests/Automatic/Fixture/ConsoleFixtureGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Fixture; use Narrowspark\Automatic\Common\Generator\AbstractGenerator; diff --git a/tests/Automatic/Fixture/FrameworkDefaultFixtureGenerator.php b/tests/Automatic/Fixture/FrameworkDefaultFixtureGenerator.php index 79898500..acebefd6 100644 --- a/tests/Automatic/Fixture/FrameworkDefaultFixtureGenerator.php +++ b/tests/Automatic/Fixture/FrameworkDefaultFixtureGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Fixture; use Narrowspark\Automatic\Common\Contract\Generator\DefaultGenerator as DefaultGeneratorContract; diff --git a/tests/Automatic/Fixture/MockConfigurator.php b/tests/Automatic/Fixture/MockConfigurator.php index f64db2f7..4ef66ecf 100644 --- a/tests/Automatic/Fixture/MockConfigurator.php +++ b/tests/Automatic/Fixture/MockConfigurator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Fixture; use Narrowspark\Automatic\Common\Configurator\AbstractConfigurator; diff --git a/tests/Automatic/Fixture/Test/TransformWithScriptsExecutor/Automatic/TestExecutor.php b/tests/Automatic/Fixture/Test/TransformWithScriptsExecutor/Automatic/TestExecutor.php index 8c9eb1a9..cf0c7867 100644 --- a/tests/Automatic/Fixture/Test/TransformWithScriptsExecutor/Automatic/TestExecutor.php +++ b/tests/Automatic/Fixture/Test/TransformWithScriptsExecutor/Automatic/TestExecutor.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Fixture\Test\TransformWithScriptsExecutor\Automatic; use Narrowspark\Automatic\Common\ScriptExtender\AbstractScriptExtender; diff --git a/tests/Automatic/FunctionMock.php b/tests/Automatic/FunctionMock.php index bdd47054..8088abbc 100644 --- a/tests/Automatic/FunctionMock.php +++ b/tests/Automatic/FunctionMock.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic; class FunctionMock diff --git a/tests/Automatic/Installer/AbstractInstallerTest.php b/tests/Automatic/Installer/AbstractInstallerTest.php index 679682cf..50604052 100644 --- a/tests/Automatic/Installer/AbstractInstallerTest.php +++ b/tests/Automatic/Installer/AbstractInstallerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Installer; use Composer\Downloader\DownloadManager; diff --git a/tests/Automatic/Installer/ConfiguratorInstallerTest.php b/tests/Automatic/Installer/ConfiguratorInstallerTest.php index 7e1e5fe5..0fb2b8f8 100644 --- a/tests/Automatic/Installer/ConfiguratorInstallerTest.php +++ b/tests/Automatic/Installer/ConfiguratorInstallerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Installer; use Narrowspark\Automatic\Installer\ConfiguratorInstaller; diff --git a/tests/Automatic/Installer/InstallationManagerTest.php b/tests/Automatic/Installer/InstallationManagerTest.php index 8bbe1df0..58037dc9 100644 --- a/tests/Automatic/Installer/InstallationManagerTest.php +++ b/tests/Automatic/Installer/InstallationManagerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Installer; use Composer\IO\IOInterface; diff --git a/tests/Automatic/Installer/SkeletonInstallerTest.php b/tests/Automatic/Installer/SkeletonInstallerTest.php index 9a1ac676..47bef6e2 100644 --- a/tests/Automatic/Installer/SkeletonInstallerTest.php +++ b/tests/Automatic/Installer/SkeletonInstallerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Installer; use Narrowspark\Automatic\Installer\SkeletonInstaller; diff --git a/tests/Automatic/LockTest.php b/tests/Automatic/LockTest.php index c8335ecf..c906480e 100644 --- a/tests/Automatic/LockTest.php +++ b/tests/Automatic/LockTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Narrowspark\Automatic\Lock; diff --git a/tests/Automatic/Operation/InstallTest.php b/tests/Automatic/Operation/InstallTest.php index dd4c8721..4a1644f1 100644 --- a/tests/Automatic/Operation/InstallTest.php +++ b/tests/Automatic/Operation/InstallTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Operation; use Composer\DependencyResolver\Operation\InstallOperation; diff --git a/tests/Automatic/Operation/Traits/ArrangeOperationsClasses.php b/tests/Automatic/Operation/Traits/ArrangeOperationsClasses.php index 690d1daf..a3570b43 100644 --- a/tests/Automatic/Operation/Traits/ArrangeOperationsClasses.php +++ b/tests/Automatic/Operation/Traits/ArrangeOperationsClasses.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Operation\Traits; use Composer\Composer; diff --git a/tests/Automatic/Operation/UninstallTest.php b/tests/Automatic/Operation/UninstallTest.php index 1a08cd75..5915099c 100644 --- a/tests/Automatic/Operation/UninstallTest.php +++ b/tests/Automatic/Operation/UninstallTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Operation; use Composer\DependencyResolver\Operation\UninstallOperation; diff --git a/tests/Automatic/PackageConfiguratorTest.php b/tests/Automatic/PackageConfiguratorTest.php index c42418c8..824b1101 100644 --- a/tests/Automatic/PackageConfiguratorTest.php +++ b/tests/Automatic/PackageConfiguratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\IO\IOInterface; diff --git a/tests/Automatic/QuestionFactoryTest.php b/tests/Automatic/QuestionFactoryTest.php index e08abf2b..f33cf3c8 100644 --- a/tests/Automatic/QuestionFactoryTest.php +++ b/tests/Automatic/QuestionFactoryTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Narrowspark\Automatic\Common\Contract\Exception\InvalidArgumentException; diff --git a/tests/Automatic/ScriptExecutorTest.php b/tests/Automatic/ScriptExecutorTest.php index 7450f060..7426ae2b 100644 --- a/tests/Automatic/ScriptExecutorTest.php +++ b/tests/Automatic/ScriptExecutorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\Composer; diff --git a/tests/Automatic/ScriptExtender/ScriptExtenderTest.php b/tests/Automatic/ScriptExtender/ScriptExtenderTest.php index 9e650c28..9a721f6b 100644 --- a/tests/Automatic/ScriptExtender/ScriptExtenderTest.php +++ b/tests/Automatic/ScriptExtender/ScriptExtenderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\Composer; diff --git a/tests/Automatic/SkeletonGeneratorTest.php b/tests/Automatic/SkeletonGeneratorTest.php index 38961ca9..c73ffe1c 100644 --- a/tests/Automatic/SkeletonGeneratorTest.php +++ b/tests/Automatic/SkeletonGeneratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test; use Composer\IO\IOInterface; diff --git a/tests/Automatic/Traits/ArrangeComposerClasses.php b/tests/Automatic/Traits/ArrangeComposerClasses.php index acc5b2b1..13624767 100644 --- a/tests/Automatic/Traits/ArrangeComposerClasses.php +++ b/tests/Automatic/Traits/ArrangeComposerClasses.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Traits; use Composer\Composer; diff --git a/tests/Common/ClassFinderTest.php b/tests/Common/ClassFinderTest.php index 23980ccd..4af87513 100644 --- a/tests/Common/ClassFinderTest.php +++ b/tests/Common/ClassFinderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Narrowspark\Automatic\Common\ClassFinder; diff --git a/tests/Common/ContainerTest.php b/tests/Common/ContainerTest.php index c17323d3..f940e3d9 100644 --- a/tests/Common/ContainerTest.php +++ b/tests/Common/ContainerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Composer\Composer; diff --git a/tests/Common/Fixture/Finder/AbstractClass.php b/tests/Common/Fixture/Finder/AbstractClass.php index b0f91a8b..4d86dcf7 100644 --- a/tests/Common/Fixture/Finder/AbstractClass.php +++ b/tests/Common/Fixture/Finder/AbstractClass.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Common/Fixture/Finder/DummyClass.php b/tests/Common/Fixture/Finder/DummyClass.php index bded9f1a..a8b81c25 100644 --- a/tests/Common/Fixture/Finder/DummyClass.php +++ b/tests/Common/Fixture/Finder/DummyClass.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Common/Fixture/Finder/DummyClassTwo.php b/tests/Common/Fixture/Finder/DummyClassTwo.php index 244f84bc..2fbcf989 100644 --- a/tests/Common/Fixture/Finder/DummyClassTwo.php +++ b/tests/Common/Fixture/Finder/DummyClassTwo.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Common/Fixture/Finder/DummyInterface.php b/tests/Common/Fixture/Finder/DummyInterface.php index 89759515..181e17cb 100644 --- a/tests/Common/Fixture/Finder/DummyInterface.php +++ b/tests/Common/Fixture/Finder/DummyInterface.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; interface DummyInterface diff --git a/tests/Common/Fixture/Finder/FooTrait.php b/tests/Common/Fixture/Finder/FooTrait.php index 435e525c..b477db44 100644 --- a/tests/Common/Fixture/Finder/FooTrait.php +++ b/tests/Common/Fixture/Finder/FooTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; trait FooTrait diff --git a/tests/Common/Fixture/Finder/Nested/DummyClassNested.php b/tests/Common/Fixture/Finder/Nested/DummyClassNested.php index 5cfbccda..2f13623e 100644 --- a/tests/Common/Fixture/Finder/Nested/DummyClassNested.php +++ b/tests/Common/Fixture/Finder/Nested/DummyClassNested.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder\Nested; use Narrowspark\Automatic\Common\Contract\Configurator as ConfiguratorContract; diff --git a/tests/Common/Fixture/Finder/StaticFunctionAndClasses.php b/tests/Common/Fixture/Finder/StaticFunctionAndClasses.php index 310737cb..cd0eeadb 100644 --- a/tests/Common/Fixture/Finder/StaticFunctionAndClasses.php +++ b/tests/Common/Fixture/Finder/StaticFunctionAndClasses.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Fixture\Finder; use Psr\Http\Message\ResponseFactoryInterface; diff --git a/tests/Common/Installer/InstallerTest.php b/tests/Common/Installer/InstallerTest.php index 8ef4126f..9350ac03 100644 --- a/tests/Common/Installer/InstallerTest.php +++ b/tests/Common/Installer/InstallerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Installer; use Composer\Autoload\AutoloadGenerator; diff --git a/tests/Common/PackageTest.php b/tests/Common/PackageTest.php index ec082c7d..898f53ff 100644 --- a/tests/Common/PackageTest.php +++ b/tests/Common/PackageTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Narrowspark\Automatic\Common\Contract\Package as ContractPackage; diff --git a/tests/Common/PathTest.php b/tests/Common/PathTest.php index 37dba285..28597e35 100644 --- a/tests/Common/PathTest.php +++ b/tests/Common/PathTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Narrowspark\Automatic\Common\Path; diff --git a/tests/Common/ScriptExtender/PhpScriptExtenderTest.php b/tests/Common/ScriptExtender/PhpScriptExtenderTest.php index f2924b2c..6ea62c26 100644 --- a/tests/Common/ScriptExtender/PhpScriptExtenderTest.php +++ b/tests/Common/ScriptExtender/PhpScriptExtenderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Composer\Composer; diff --git a/tests/Common/Traits/ExpandTargetDirTraitTest.php b/tests/Common/Traits/ExpandTargetDirTraitTest.php index 10e4dc06..4f397c55 100644 --- a/tests/Common/Traits/ExpandTargetDirTraitTest.php +++ b/tests/Common/Traits/ExpandTargetDirTraitTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Traits; use Narrowspark\Automatic\Common\Traits\ExpandTargetDirTrait; diff --git a/tests/Common/Traits/PhpFileMarkerTraitTest.php b/tests/Common/Traits/PhpFileMarkerTraitTest.php index 52c4133d..1e828cf2 100644 --- a/tests/Common/Traits/PhpFileMarkerTraitTest.php +++ b/tests/Common/Traits/PhpFileMarkerTraitTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common\Traits; use Narrowspark\Automatic\Common\Traits\PhpFileMarkerTrait; diff --git a/tests/Common/UtilTest.php b/tests/Common/UtilTest.php index caf9ac4f..486e778f 100644 --- a/tests/Common/UtilTest.php +++ b/tests/Common/UtilTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Common; use Composer\Json\JsonFile; diff --git a/tests/Internal/MirrorClassTest.php b/tests/Internal/MirrorClassTest.php index 23cad6ce..53d39e61 100644 --- a/tests/Internal/MirrorClassTest.php +++ b/tests/Internal/MirrorClassTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Internal; use PHPUnit\Framework\TestCase; diff --git a/tests/Internal/MirrorSettings.php b/tests/Internal/MirrorSettings.php index fd87d7fc..8414567d 100644 --- a/tests/Internal/MirrorSettings.php +++ b/tests/Internal/MirrorSettings.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Internal; final class MirrorSettings @@ -42,13 +51,13 @@ final class MirrorSettings ]; public const COMMENT_STRING = <<<'STRING' -/** - * This file is automatically generated, dont change this file, otherwise the changes are lost after the next mirror update. - * - * @codeCoverageIgnore - * @internal - */ -STRING; + /** + * This file is automatically generated, dont change this file, otherwise the changes are lost after the next mirror update. + * + * @codeCoverageIgnore + * @internal + */ + STRING; public const OUTPUT_LIST = [ 'Prefetcher' . \DIRECTORY_SEPARATOR => 'Automatic\\Prefetcher\\Common', diff --git a/tests/Prefetcher/CacheTest.php b/tests/Prefetcher/CacheTest.php index cd924ced..52a84642 100644 --- a/tests/Prefetcher/CacheTest.php +++ b/tests/Prefetcher/CacheTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Prefetcher; use Composer\IO\IOInterface; diff --git a/tests/Prefetcher/ContainerTest.php b/tests/Prefetcher/ContainerTest.php index 88b68988..0a2ec282 100644 --- a/tests/Prefetcher/ContainerTest.php +++ b/tests/Prefetcher/ContainerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Prefetcher; use Composer\Composer; diff --git a/tests/Prefetcher/Downloader/ParallelDownloaderTest.php b/tests/Prefetcher/Downloader/ParallelDownloaderTest.php index 0470a098..37609cef 100644 --- a/tests/Prefetcher/Downloader/ParallelDownloaderTest.php +++ b/tests/Prefetcher/Downloader/ParallelDownloaderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Prefetcher\Downloader; use Composer\IO\IOInterface; diff --git a/tests/Prefetcher/FunctionMock.php b/tests/Prefetcher/FunctionMock.php index 2b984b6a..e16b34a6 100644 --- a/tests/Prefetcher/FunctionMock.php +++ b/tests/Prefetcher/FunctionMock.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher; class FunctionMock diff --git a/tests/Prefetcher/LegacyTagsManagerTest.php b/tests/Prefetcher/LegacyTagsManagerTest.php index 29d9c25f..0fc3c8cd 100644 --- a/tests/Prefetcher/LegacyTagsManagerTest.php +++ b/tests/Prefetcher/LegacyTagsManagerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Prefetcher; use Composer\IO\IOInterface; diff --git a/tests/Prefetcher/PluginTest.php b/tests/Prefetcher/PluginTest.php index be8edd4d..320e9a00 100644 --- a/tests/Prefetcher/PluginTest.php +++ b/tests/Prefetcher/PluginTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Test\Prefetcher; use Composer\Installer\InstallerEvent; diff --git a/tests/Security/AuditTest.php b/tests/Security/AuditTest.php index d1f6dd9b..e8d19562 100644 --- a/tests/Security/AuditTest.php +++ b/tests/Security/AuditTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test; use Narrowspark\Automatic\Security\Audit; diff --git a/tests/Security/Command/AuditCommandTest.php b/tests/Security/Command/AuditCommandTest.php index a1c469c1..c96489f8 100644 --- a/tests/Security/Command/AuditCommandTest.php +++ b/tests/Security/Command/AuditCommandTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test; use Narrowspark\Automatic\Security\Command\AuditCommand; diff --git a/tests/Security/CommandProviderTest.php b/tests/Security/CommandProviderTest.php index 36df04ce..669437f6 100644 --- a/tests/Security/CommandProviderTest.php +++ b/tests/Security/CommandProviderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test; use Narrowspark\Automatic\Security\Command\AuditCommand; diff --git a/tests/Security/Downloader/ComposerDownloaderTest.php b/tests/Security/Downloader/ComposerDownloaderTest.php index 133f5d96..4a662e45 100644 --- a/tests/Security/Downloader/ComposerDownloaderTest.php +++ b/tests/Security/Downloader/ComposerDownloaderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test\Downloader; use Narrowspark\Automatic\Security\Downloader\ComposerDownloader; diff --git a/tests/Security/Downloader/CurlDownloaderTest.php b/tests/Security/Downloader/CurlDownloaderTest.php index c87b080a..5dfb7063 100644 --- a/tests/Security/Downloader/CurlDownloaderTest.php +++ b/tests/Security/Downloader/CurlDownloaderTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test\Downloader; use Narrowspark\Automatic\Security\Downloader\CurlDownloader; diff --git a/tests/Security/PluginTest.php b/tests/Security/PluginTest.php index 8b4eeb81..f0cdeffb 100644 --- a/tests/Security/PluginTest.php +++ b/tests/Security/PluginTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test; use Composer\DependencyResolver\Operation\InstallOperation; diff --git a/tests/Security/UtilTest.php b/tests/Security/UtilTest.php index e42b9bf0..043813e9 100644 --- a/tests/Security/UtilTest.php +++ b/tests/Security/UtilTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Security\Test; use Narrowspark\Automatic\Security\Util; From 9a7f1e9fdfc9fbb46e40c685d2a73dbdbabc68a9 Mon Sep 17 00:00:00 2001 From: prisis Date: Thu, 24 Oct 2019 08:47:27 +0200 Subject: [PATCH 2/5] style : cs fixes --- src/Security/Command/AuditCommand.php | 4 ++-- .../Automatic/Configurator/EnvConfiguratorTest.php | 8 ++++---- tests/Internal/MirrorSettings.php | 14 +++++++------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Security/Command/AuditCommand.php b/src/Security/Command/AuditCommand.php index 7f987bcc..95301dbc 100644 --- a/src/Security/Command/AuditCommand.php +++ b/src/Security/Command/AuditCommand.php @@ -51,8 +51,8 @@ protected function configure(): void ->setDescription('Checks security issues in your project dependencies') ->setHelp( <<<'EOF' - The %command.name% command looks for security issues in the project dependencies. - EOF +The %command.name% command looks for security issues in the project dependencies. +EOF ); } diff --git a/tests/Automatic/Configurator/EnvConfiguratorTest.php b/tests/Automatic/Configurator/EnvConfiguratorTest.php index 8c45a190..99dff0e7 100644 --- a/tests/Automatic/Configurator/EnvConfiguratorTest.php +++ b/tests/Automatic/Configurator/EnvConfiguratorTest.php @@ -155,14 +155,14 @@ public function testUnconfigure(): void self::assertStringEqualsFile( $this->envDistPath, <<<'EOF' - - EOF + +EOF ); self::assertStringEqualsFile( $this->envPath, <<<'EOF' - - EOF + +EOF ); } } diff --git a/tests/Internal/MirrorSettings.php b/tests/Internal/MirrorSettings.php index 8414567d..34158c2b 100644 --- a/tests/Internal/MirrorSettings.php +++ b/tests/Internal/MirrorSettings.php @@ -51,13 +51,13 @@ final class MirrorSettings ]; public const COMMENT_STRING = <<<'STRING' - /** - * This file is automatically generated, dont change this file, otherwise the changes are lost after the next mirror update. - * - * @codeCoverageIgnore - * @internal - */ - STRING; +/** + * This file is automatically generated, dont change this file, otherwise the changes are lost after the next mirror update. + * + * @codeCoverageIgnore + * @internal + */ +STRING; public const OUTPUT_LIST = [ 'Prefetcher' . \DIRECTORY_SEPARATOR => 'Automatic\\Prefetcher\\Common', From 541b477c78f15654c3c84f608423210d042e9ea1 Mon Sep 17 00:00:00 2001 From: prisis Date: Thu, 24 Oct 2019 12:31:52 +0200 Subject: [PATCH 3/5] style : cs fixes --- src/Prefetcher/Common/AbstractContainer.php | 9 +++++++++ src/Prefetcher/Common/Contract/Container.php | 9 +++++++++ src/Prefetcher/Common/Contract/Exception/Exception.php | 9 +++++++++ .../Contract/Exception/InvalidArgumentException.php | 9 +++++++++ .../Common/Contract/Exception/RuntimeException.php | 9 +++++++++ src/Prefetcher/Common/Contract/Resettable.php | 9 +++++++++ .../Common/Traits/GetGenericPropertyReaderTrait.php | 9 +++++++++ src/Prefetcher/Common/Util.php | 9 +++++++++ src/Prefetcher/alias.php | 9 --------- 9 files changed, 72 insertions(+), 9 deletions(-) diff --git a/src/Prefetcher/Common/AbstractContainer.php b/src/Prefetcher/Common/AbstractContainer.php index bf4c00b6..51fdf046 100644 --- a/src/Prefetcher/Common/AbstractContainer.php +++ b/src/Prefetcher/Common/AbstractContainer.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common; use Narrowspark\Automatic\Prefetcher\Common\Contract\Container as ContainerContract; diff --git a/src/Prefetcher/Common/Contract/Container.php b/src/Prefetcher/Common/Contract/Container.php index 5e7be88a..9e420754 100644 --- a/src/Prefetcher/Common/Contract/Container.php +++ b/src/Prefetcher/Common/Contract/Container.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Contract; /** diff --git a/src/Prefetcher/Common/Contract/Exception/Exception.php b/src/Prefetcher/Common/Contract/Exception/Exception.php index 372c150f..fdd653c1 100644 --- a/src/Prefetcher/Common/Contract/Exception/Exception.php +++ b/src/Prefetcher/Common/Contract/Exception/Exception.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Contract\Exception; /** diff --git a/src/Prefetcher/Common/Contract/Exception/InvalidArgumentException.php b/src/Prefetcher/Common/Contract/Exception/InvalidArgumentException.php index 1c5e685f..1e96b5bc 100644 --- a/src/Prefetcher/Common/Contract/Exception/InvalidArgumentException.php +++ b/src/Prefetcher/Common/Contract/Exception/InvalidArgumentException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Contract\Exception; use InvalidArgumentException as BaseInvalidArgumentException; diff --git a/src/Prefetcher/Common/Contract/Exception/RuntimeException.php b/src/Prefetcher/Common/Contract/Exception/RuntimeException.php index eb77faad..76d0926d 100644 --- a/src/Prefetcher/Common/Contract/Exception/RuntimeException.php +++ b/src/Prefetcher/Common/Contract/Exception/RuntimeException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Contract\Exception; use RuntimeException as BaseRuntimeException; diff --git a/src/Prefetcher/Common/Contract/Resettable.php b/src/Prefetcher/Common/Contract/Resettable.php index 3b61e77f..d026bcd6 100644 --- a/src/Prefetcher/Common/Contract/Resettable.php +++ b/src/Prefetcher/Common/Contract/Resettable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Contract; /** diff --git a/src/Prefetcher/Common/Traits/GetGenericPropertyReaderTrait.php b/src/Prefetcher/Common/Traits/GetGenericPropertyReaderTrait.php index 588deba7..27f19dbe 100644 --- a/src/Prefetcher/Common/Traits/GetGenericPropertyReaderTrait.php +++ b/src/Prefetcher/Common/Traits/GetGenericPropertyReaderTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common\Traits; use Closure; diff --git a/src/Prefetcher/Common/Util.php b/src/Prefetcher/Common/Util.php index c39d1038..62408544 100644 --- a/src/Prefetcher/Common/Util.php +++ b/src/Prefetcher/Common/Util.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of Narrowspark Framework. + * + * (c) Daniel Bannert + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Narrowspark\Automatic\Prefetcher\Common; use Composer\Factory; diff --git a/src/Prefetcher/alias.php b/src/Prefetcher/alias.php index 7953b991..d70b0fd1 100644 --- a/src/Prefetcher/alias.php +++ b/src/Prefetcher/alias.php @@ -2,15 +2,6 @@ declare(strict_types=1); -/** - * This file is part of Narrowspark Framework. - * - * (c) Daniel Bannert - * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. - */ - \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Exception\Exception::class, Narrowspark\Automatic\Common\Contract\Exception\Exception::class); \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Exception\InvalidArgumentException::class, Narrowspark\Automatic\Common\Contract\Exception\InvalidArgumentException::class); \class_alias(Narrowspark\Automatic\Prefetcher\Common\Contract\Container::class, Narrowspark\Automatic\Common\Contract\Container::class); From df9f717451b25e79530c3ad93cd4fd8e35fec214 Mon Sep 17 00:00:00 2001 From: prisis Date: Thu, 24 Oct 2019 12:35:32 +0200 Subject: [PATCH 4/5] build : updated phpunit run --- build/travis/script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/travis/script.sh b/build/travis/script.sh index b61f5467..bc7737e8 100644 --- a/build/travis/script.sh +++ b/build/travis/script.sh @@ -12,6 +12,8 @@ if [[ "$PHPUNIT" = true ]]; then TESTSUITE="Narrowspark Automatic Test Suite"; elif [[ "$TYPE" = "Common" ]]; then TESTSUITE="Narrowspark Automatic Common Test Suite"; + elif [[ "$TYPE" = "Prefetcher" ]]; then + TESTSUITE="Narrowspark Automatic Prefetcher Test Suite"; elif [[ "$TYPE" = "Security" ]]; then TESTSUITE="Narrowspark Automatic Security Test Suite"; fi @@ -23,4 +25,6 @@ if [[ "$PHPUNIT" = true ]]; then } fi done + + tfold "$TESTSUITE" "$TEST -c ./phpunit.xml.dist --testsuite=\"Narrowspark Automatic Internal Test Suite\""; fi From 46834bb5e2de2f95afcd1406616b88d5db6ec003 Mon Sep 17 00:00:00 2001 From: prisis Date: Thu, 24 Oct 2019 13:12:52 +0200 Subject: [PATCH 5/5] build : fix last test name --- build/travis/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/travis/script.sh b/build/travis/script.sh index bc7737e8..f47fd140 100644 --- a/build/travis/script.sh +++ b/build/travis/script.sh @@ -26,5 +26,5 @@ if [[ "$PHPUNIT" = true ]]; then fi done - tfold "$TESTSUITE" "$TEST -c ./phpunit.xml.dist --testsuite=\"Narrowspark Automatic Internal Test Suite\""; + tfold "Narrowspark Automatic Internal Test Suite" "$TEST -c ./phpunit.xml.dist --testsuite=\"Narrowspark Automatic Internal Test Suite\""; fi