From acc73ec5ab6b4adff0d35bfea3e694df9a346a3d Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 24 Jan 2023 15:02:24 +0100 Subject: [PATCH 1/2] Update license years (last time) --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 0083704..0138f8f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2004-2023 Fabien Potencier +Copyright (c) 2004-present Fabien Potencier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 57c03a5e89ed7c2d7a1a09258dfec12f95f95adb Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 14 Dec 2022 15:42:16 +0100 Subject: [PATCH 2/2] Migrate to `static` data providers using `rector/rector` --- Tests/LinkTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/LinkTest.php b/Tests/LinkTest.php index 979bbb8..e1c03ba 100644 --- a/Tests/LinkTest.php +++ b/Tests/LinkTest.php @@ -91,7 +91,7 @@ public function testNotTemplated(string $href) $this->assertFalse($link->isTemplated()); } - public function templatedHrefProvider() + public static function templatedHrefProvider() { return [ ['http://www.google.com/{param}/foo'], @@ -99,7 +99,7 @@ public function templatedHrefProvider() ]; } - public function notTemplatedHrefProvider() + public static function notTemplatedHrefProvider() { return [ ['http://www.google.com/foo'],