pecl channel-update pecl.php.net
pecl clear-cache
pecl install xdebug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Support\Facades\Cookie; | |
| use Illuminate\Support\Facades\Mail; | |
| use Illuminate\Support\Facades\Session; | |
| use Ratchet\WebSocket\Version\RFC6455\Connection; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?$arPrice = CCatalogProduct::GetOptimalPrice($arItem["ITEM_ID"], 1, $USER->GetUserGroupArray()); | |
| if($arPrice):?> | |
| <div class="cost"><?=CurrencyFormat($arPrice["PRICE"]["PRICE"], "RUB");?> р.</div> | |
| <?endif;?> |
This is a git pre-push hook intended to help developers keep their PHP code base clean by performing a scan with PHP CodeSniffer whenever new code is pushed to the repository. When any coding standards violations are present the push is rejected, allowing the developer to fix the code before making it public.
To increase performance only the changed files are checked when new code is