Skip to content

Commit

Permalink
qa: apply laminas-coding-standard rules
Browse files Browse the repository at this point in the history
Primarily removes file-level license docblocks.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
  • Loading branch information
weierophinney committed Jun 24, 2021
1 parent c39c086 commit 10c04cf
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 73 deletions.
6 changes: 1 addition & 5 deletions config/application.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

return [
// Retrieve the list of modules for this application.
Expand Down
6 changes: 1 addition & 5 deletions config/autoload/api-tools-config.global.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

return [
'view_manager' => [
Expand Down
2 changes: 2 additions & 0 deletions config/autoload/api-tools-mvc-auth-oauth2-override.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* OAuth2\Server instances.
*/

declare(strict_types=1);

use Laminas\ApiTools\MvcAuth\Factory\NamedOAuth2ServerFactory;
use Laminas\ApiTools\OAuth2\Service\OAuth2Server;

Expand Down
6 changes: 1 addition & 5 deletions config/autoload/global-development.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

use Laminas\ApiTools\Admin\Model\ModulePathSpec;

Expand Down
6 changes: 1 addition & 5 deletions config/autoload/global.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

return [
'api-tools-content-negotiation' => [
Expand Down
8 changes: 2 additions & 6 deletions config/autoload/user.global.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/

/**
* Global Configuration Override
*
Expand All @@ -18,6 +12,8 @@
* file.
*/

declare(strict_types=1);

return [
// ...
];
6 changes: 0 additions & 6 deletions config/development.config.php.dist
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/

return [
// Development time modules
'modules' => [
Expand Down
9 changes: 3 additions & 6 deletions config/modules.config.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/

/**
* List of enabled modules for this application.
*/

declare(strict_types=1);

return [
'Laminas\Db',
'Laminas\Filter',
Expand Down
6 changes: 1 addition & 5 deletions module/Application/config/module.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace Application;

Expand Down
6 changes: 1 addition & 5 deletions module/Application/src/Controller/IndexController.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace Application\Controller;

Expand Down
6 changes: 1 addition & 5 deletions module/Application/src/Module.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace Application;

Expand Down
6 changes: 1 addition & 5 deletions module/Application/test/Controller/IndexControllerTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace ApplicationTest\Controller;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace ApplicationTest\Controller;

Expand Down
8 changes: 2 additions & 6 deletions src/ApiTools/constants.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<?php

/**
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/
declare(strict_types=1);

namespace ApiTools;

const VERSION = '1.5.1dev';
const VERSION = '1.6.0dev';
6 changes: 2 additions & 4 deletions src/remove-package-artifacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
/**
* This file is triggered by the post-create-project-cmd event in order to
* remove the github workflows used by the package, as well as this file itself.
*
* @see https://github.com/laminas-api-tools/api-tools-skeleton for the canonical source repository
* @copyright https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/COPYRIGHT.md
* @license https://github.com/laminas-api-tools/api-tools-skeleton/blob/master/LICENSE.md New BSD License
*/

declare(strict_types=1);

/**
* @param string $path
* @return void
Expand Down

0 comments on commit 10c04cf

Please sign in to comment.