diff --git a/Classes/Command/ClearCommand.php b/Classes/Command/ClearCommand.php index 4273af1..687f94d 100644 --- a/Classes/Command/ClearCommand.php +++ b/Classes/Command/ClearCommand.php @@ -16,7 +16,6 @@ namespace Evoweb\Extender\Command; use Evoweb\Extender\Cache\CacheFactory; -use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/Classes/Composer/Generator/ConstructorGenerator.php b/Classes/Composer/Generator/ConstructorGenerator.php index b5872f0..434fef0 100644 --- a/Classes/Composer/Generator/ConstructorGenerator.php +++ b/Classes/Composer/Generator/ConstructorGenerator.php @@ -81,7 +81,6 @@ protected function getParamsAndStmts(array $fileSegments): array */ protected function getConstructorParameter(array $result, array $params): array { - /** @var Param $param */ foreach ($params as $param) { if (isset($result[$param->var->name])) { continue; @@ -128,7 +127,6 @@ protected function hasConstructor(array $fileSegments): bool { $result = false; - /** @var FileSegments $fileSegment */ foreach ($fileSegments as $fileSegment) { if ($fileSegment->getConstructor()) { $result = true; diff --git a/LICENSE.txt b/LICENSE.txt index d159169..9efa6fb 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -2,7 +2,7 @@ Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -304,8 +304,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + with this program; if not, see . Also add information on how to contact you by electronic and paper mail. @@ -329,8 +328,8 @@ necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. - , 1 April 1989 - Ty Coon, President of Vice + , 1 April 1989 + Moe Ghoul, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may diff --git a/Tests/Functional/AbstractTestBase.php b/Tests/Functional/AbstractTestBase.php index 58a40fe..0cc3209 100644 --- a/Tests/Functional/AbstractTestBase.php +++ b/Tests/Functional/AbstractTestBase.php @@ -16,7 +16,6 @@ use Composer\Autoload\ClassLoader; use Evoweb\Extender\Cache\CacheFactory; use Evoweb\Extender\Configuration\ClassRegister; -use Evoweb\Extender\Parser\FileSegments; use PhpParser\Node; use PhpParser\PrettyPrinter\Standard as PrettyPrinter; use Psr\Container\ContainerExceptionInterface; diff --git a/Tests/Functional/Loader/ClassLoaderTest.php b/Tests/Functional/Loader/ClassLoaderTest.php index 2a82d41..0669f4d 100644 --- a/Tests/Functional/Loader/ClassLoaderTest.php +++ b/Tests/Functional/Loader/ClassLoaderTest.php @@ -11,7 +11,7 @@ * LICENSE.txt file that was distributed with this source code. */ -namespace Evoweb\Extender\Tests\Functional\Utility; +namespace Evoweb\Extender\Tests\Functional\Loader; use Evoweb\Extender\Cache\CacheFactory; use Evoweb\Extender\Cache\ClassCacheManager;