Skip to content

Commit

Permalink
fix: Disable RequireFilenameMatchesPackage for Config*_.pm (#10044)
Browse files Browse the repository at this point in the history
fix: Disable RequireFilenameMatchesPackage for modules that are symlinked to nother name
  • Loading branch information
hangy authored Mar 28, 2024
1 parent 5dcfef1 commit 34a46b8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config2_docker.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config2;

use utf8;
Expand Down
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config2_sample.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config2;

use utf8;
Expand Down
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config_obf.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config;

use utf8;
Expand Down
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config_off.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config;

use utf8;
Expand Down
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config_opf.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config;

use utf8;
Expand Down
4 changes: 3 additions & 1 deletion lib/ProductOpener/Config_opff.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2024 Association Open Food Facts
# Contact: [email protected]
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand All @@ -18,6 +18,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

## no critic (RequireFilenameMatchesPackage);

package ProductOpener::Config;

use utf8;
Expand Down

0 comments on commit 34a46b8

Please sign in to comment.