diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-05 09:55:49 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-05 12:10:20 +0100 |
| commit | e7f56f2af615447ab1a7646851f88b465ace9e04 (patch) | |
| tree | 1a67ed4d85042c29f2e0d5e39135f7c004176998 /app/Schema | |
| parent | 251a9de7b5f8c617b5f6a81b47dc59c8d5cbf003 (diff) | |
| download | webtrees-e7f56f2af615447ab1a7646851f88b465ace9e04.tar.gz webtrees-e7f56f2af615447ab1a7646851f88b465ace9e04.tar.bz2 webtrees-e7f56f2af615447ab1a7646851f88b465ace9e04.zip | |
Add declare(strict_types=1) to all PHP scripts
Diffstat (limited to 'app/Schema')
41 files changed, 82 insertions, 0 deletions
diff --git a/app/Schema/Migration0.php b/app/Schema/Migration0.php index f19de1bd09..94762557b3 100644 --- a/app/Schema/Migration0.php +++ b/app/Schema/Migration0.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration1.php b/app/Schema/Migration1.php index 905368f26b..7cf5303b6e 100644 --- a/app/Schema/Migration1.php +++ b/app/Schema/Migration1.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration10.php b/app/Schema/Migration10.php index 756dc3d085..2ad5d1ea1f 100644 --- a/app/Schema/Migration10.php +++ b/app/Schema/Migration10.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration11.php b/app/Schema/Migration11.php index e57b6c0cf4..e3369d1b79 100644 --- a/app/Schema/Migration11.php +++ b/app/Schema/Migration11.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration12.php b/app/Schema/Migration12.php index 11220b99de..2b3baa936a 100644 --- a/app/Schema/Migration12.php +++ b/app/Schema/Migration12.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration13.php b/app/Schema/Migration13.php index 87a5984280..7df01d8582 100644 --- a/app/Schema/Migration13.php +++ b/app/Schema/Migration13.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration14.php b/app/Schema/Migration14.php index 67fc23b1b0..cfecbf41a5 100644 --- a/app/Schema/Migration14.php +++ b/app/Schema/Migration14.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration15.php b/app/Schema/Migration15.php index 102a5e75b1..1507e8ceb9 100644 --- a/app/Schema/Migration15.php +++ b/app/Schema/Migration15.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration16.php b/app/Schema/Migration16.php index 084c2f09f4..80eeb50870 100644 --- a/app/Schema/Migration16.php +++ b/app/Schema/Migration16.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration17.php b/app/Schema/Migration17.php index 5db0d058af..d49f1d3f76 100644 --- a/app/Schema/Migration17.php +++ b/app/Schema/Migration17.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; /** diff --git a/app/Schema/Migration18.php b/app/Schema/Migration18.php index 766ebd8288..a79f2f3092 100644 --- a/app/Schema/Migration18.php +++ b/app/Schema/Migration18.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration19.php b/app/Schema/Migration19.php index 7837842bf0..1f291b8b21 100644 --- a/app/Schema/Migration19.php +++ b/app/Schema/Migration19.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration2.php b/app/Schema/Migration2.php index 3f0be5c29a..c43e3f671f 100644 --- a/app/Schema/Migration2.php +++ b/app/Schema/Migration2.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration20.php b/app/Schema/Migration20.php index cf1257f225..801601286b 100644 --- a/app/Schema/Migration20.php +++ b/app/Schema/Migration20.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration21.php b/app/Schema/Migration21.php index 66ff3650b8..6fb068c166 100644 --- a/app/Schema/Migration21.php +++ b/app/Schema/Migration21.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration22.php b/app/Schema/Migration22.php index 8827c0330d..fd010c2d93 100644 --- a/app/Schema/Migration22.php +++ b/app/Schema/Migration22.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration23.php b/app/Schema/Migration23.php index 8488907359..33938f7779 100644 --- a/app/Schema/Migration23.php +++ b/app/Schema/Migration23.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration24.php b/app/Schema/Migration24.php index 05f17c7e08..ce4c1ec162 100644 --- a/app/Schema/Migration24.php +++ b/app/Schema/Migration24.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration25.php b/app/Schema/Migration25.php index 13c1a841d6..f6aecda737 100644 --- a/app/Schema/Migration25.php +++ b/app/Schema/Migration25.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration26.php b/app/Schema/Migration26.php index 00a0f00df4..bfdae94420 100644 --- a/app/Schema/Migration26.php +++ b/app/Schema/Migration26.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration27.php b/app/Schema/Migration27.php index c552e3bdbd..04cfeb3c7a 100644 --- a/app/Schema/Migration27.php +++ b/app/Schema/Migration27.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration28.php b/app/Schema/Migration28.php index 4102582b22..93eacc4d89 100644 --- a/app/Schema/Migration28.php +++ b/app/Schema/Migration28.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration29.php b/app/Schema/Migration29.php index e1e330b023..5a74a5168a 100644 --- a/app/Schema/Migration29.php +++ b/app/Schema/Migration29.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration3.php b/app/Schema/Migration3.php index aa316b7e70..703c3fcd5d 100644 --- a/app/Schema/Migration3.php +++ b/app/Schema/Migration3.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration30.php b/app/Schema/Migration30.php index 777d2e5fee..744774b690 100644 --- a/app/Schema/Migration30.php +++ b/app/Schema/Migration30.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Auth; diff --git a/app/Schema/Migration31.php b/app/Schema/Migration31.php index ad102323a1..5302d9b189 100644 --- a/app/Schema/Migration31.php +++ b/app/Schema/Migration31.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration32.php b/app/Schema/Migration32.php index 66e87b232b..8424c00c40 100644 --- a/app/Schema/Migration32.php +++ b/app/Schema/Migration32.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration33.php b/app/Schema/Migration33.php index ac48116b7d..287badd566 100644 --- a/app/Schema/Migration33.php +++ b/app/Schema/Migration33.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; /** diff --git a/app/Schema/Migration34.php b/app/Schema/Migration34.php index 9286045fa9..761dac72de 100644 --- a/app/Schema/Migration34.php +++ b/app/Schema/Migration34.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration35.php b/app/Schema/Migration35.php index fc7fe89cb2..bee9273469 100644 --- a/app/Schema/Migration35.php +++ b/app/Schema/Migration35.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration36.php b/app/Schema/Migration36.php index d7a04f15e7..24c516fd44 100644 --- a/app/Schema/Migration36.php +++ b/app/Schema/Migration36.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration37.php b/app/Schema/Migration37.php index fb889287bb..77d4cdd258 100644 --- a/app/Schema/Migration37.php +++ b/app/Schema/Migration37.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration38.php b/app/Schema/Migration38.php index 971a1919e7..10145ddb54 100644 --- a/app/Schema/Migration38.php +++ b/app/Schema/Migration38.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration39.php b/app/Schema/Migration39.php index 6b98af2bfc..90def3b765 100644 --- a/app/Schema/Migration39.php +++ b/app/Schema/Migration39.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration4.php b/app/Schema/Migration4.php index 6e6fd75cf4..46f99d86c8 100644 --- a/app/Schema/Migration4.php +++ b/app/Schema/Migration4.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration5.php b/app/Schema/Migration5.php index b0363c917c..70eba33bf6 100644 --- a/app/Schema/Migration5.php +++ b/app/Schema/Migration5.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration6.php b/app/Schema/Migration6.php index 8fb119bbab..b5e4505505 100644 --- a/app/Schema/Migration6.php +++ b/app/Schema/Migration6.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration7.php b/app/Schema/Migration7.php index c79245f13f..0cef9c9404 100644 --- a/app/Schema/Migration7.php +++ b/app/Schema/Migration7.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration8.php b/app/Schema/Migration8.php index 1d3e5cbd59..0b37880212 100644 --- a/app/Schema/Migration8.php +++ b/app/Schema/Migration8.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/Migration9.php b/app/Schema/Migration9.php index ff79f1f7e8..b5dd5de39d 100644 --- a/app/Schema/Migration9.php +++ b/app/Schema/Migration9.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; diff --git a/app/Schema/MigrationInterface.php b/app/Schema/MigrationInterface.php index ddb5d86861..6c55d70525 100644 --- a/app/Schema/MigrationInterface.php +++ b/app/Schema/MigrationInterface.php @@ -13,6 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +declare(strict_types=1); + namespace Fisharebest\Webtrees\Schema; /** |
