Skip to content

Commit

Permalink
[CHORE] Fix inspection warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
garbast committed Nov 23, 2024
1 parent 4e2d629 commit b66b9f2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
1 change: 0 additions & 1 deletion Classes/Command/ClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions Classes/Composer/Generator/ConstructorGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -128,7 +127,6 @@ protected function hasConstructor(array $fileSegments): bool
{
$result = false;

/** @var FileSegments $fileSegment */
foreach ($fileSegments as $fileSegment) {
if ($fileSegment->getConstructor()) {
$result = true;
Expand Down
9 changes: 4 additions & 5 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -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 <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -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.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
<signature of Moe Ghoul>, 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
Expand Down
1 change: 0 additions & 1 deletion Tests/Functional/AbstractTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Loader/ClassLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b66b9f2

Please sign in to comment.