diff --git a/README.md b/README.md index b0ecc82..bbd19f6 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ if ($validator->fails()) { ##### Error messages -To get the rows with validation errors and there errors. The validator expose `errors` method that can be used like so `$validator->errors()`. +To get the rows with validation errors and their errors. The validator expose `errors` method that can be used like so `$validator->errors()`. You can also customize the error messages for different validation rules and different attributes by passing a message array to the validator like so: @@ -310,4 +310,4 @@ The project run's automatic checks to make sure that the Symfony code standards So, before pushing or making any pull request run the below command: * `composer test`: For running test -* `composer fixlint`: For running php-cs-fixer to fix linting errors +* `composer fix-lint`: For running php-cs-fixer to fix linting errors diff --git a/docker/php/Dockerfile.php7 b/docker/php/Dockerfile.php7 index b8c27d6..dd09ff5 100644 --- a/docker/php/Dockerfile.php7 +++ b/docker/php/Dockerfile.php7 @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \ zip \ unzip -RUN pecl install xdebug \ +RUN pecl install xdebug-3.1.5 \ && docker-php-ext-enable xdebug # Get latest Composer