mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	Fix pipeline rector and phpunit
This commit is contained in:
		| @@ -129,7 +129,7 @@ class ActivityReasonCategory implements \Stringable | ||||
|      * | ||||
|      * @return ActivityReasonCategory | ||||
|      */ | ||||
|     public function setName($name) | ||||
|     public function setName(array $name) | ||||
|     { | ||||
|         $this->name = $name; | ||||
|  | ||||
|   | ||||
| @@ -1,35 +0,0 @@ | ||||
| <?php | ||||
|  | ||||
| declare(strict_types=1); | ||||
|  | ||||
| /* | ||||
|  * Chill is a software for social workers | ||||
|  * | ||||
|  * For the full copyright and license information, please view | ||||
|  * the LICENSE file that was distributed with this source code. | ||||
|  */ | ||||
|  | ||||
| namespace Chill\Migrations\Budget; | ||||
|  | ||||
| use Doctrine\DBAL\Schema\Schema; | ||||
| use Doctrine\Migrations\AbstractMigration; | ||||
|  | ||||
| final class Version20240918143139 extends AbstractMigration | ||||
| { | ||||
|     public function getDescription(): string | ||||
|     { | ||||
|         return 'Remove familymember column from resource and charge table'; | ||||
|     } | ||||
|  | ||||
|     public function up(Schema $schema): void | ||||
|     { | ||||
|         $this->addSql('ALTER TABLE chill_budget.charge DROP familymember_id'); | ||||
|         $this->addSql('ALTER TABLE chill_budget.resource DROP familymember_id'); | ||||
|     } | ||||
|  | ||||
|     public function down(Schema $schema): void | ||||
|     { | ||||
|         $this->addSql('ALTER TABLE chill_budget.resource ADD familymember_id INT DEFAULT NULL'); | ||||
|         $this->addSql('ALTER TABLE chill_budget.charge ADD familymember_id INT DEFAULT NULL'); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user