I hereby claim:
- I am stefanzweifel on github.
- I am stefanzweifel (https://keybase.io/stefanzweifel) on keybase.
- I have a public key whose fingerprint is EC86 B9C2 9050 F5EE ED2D E436 6938 B063 A922 A13E
To claim this, I am signing this object:
| name: Format PHP | |
| on: | |
| pull_request: | |
| paths: | |
| - '*.php' | |
| jobs: | |
| php-cs-fixer: | |
| runs-on: ubuntu-latest |
| on: push | |
| name: Run phpunit testsuite | |
| jobs: | |
| phpunit: | |
| runs-on: ubuntu-latest | |
| # container: | |
| # image: lorisleiva/laravel-docker:7.3 | |
| steps: | |
| - uses: actions/checkout@v1 |
| <?php | |
| return collect(Route::getRoutes()) | |
| ->reject(function ($item) { | |
| return starts_with($item->uri, 'horizon'); | |
| }) | |
| ->reject(function ($item) { | |
| return starts_with($item->uri, 'nova'); | |
| }) | |
| ->reject(function ($item) { |
| version: 2 | |
| jobs: | |
| php71: | |
| docker: | |
| - image: circleci/php:7.1 | |
| steps: | |
| - checkout | |
| - composer install | |
| - run: phpunit | |
| php72: |
| <?php | |
| public function assertHasNotNullRecordForColumn($table, $column, $data = []) | |
| { | |
| $result = \Illuminate\Support\Facades\DB::table($table) | |
| ->whereNotNull($column) | |
| ->where($data) | |
| ->count() > 0; | |
| $message = sprintf( |
| exiftool -P -d '%Y-%m-%d' \ | |
| '-filename<${FileModifyDate;}.%e' \ | |
| '-filename<${GPSDateTime;}.%e' \ | |
| '-filename<${MediaCreateDate;}.%e' \ | |
| '-filename<${ModifyDate;}.%e' \ | |
| '-filename<${DateTimeOriginal;}.%e' \ | |
| "$1" |
| <?php | |
| namespace App\Traits; | |
| /** | |
| * This Trait disabled the updated_at value for a model. | |
| * Laravel doesn't provide an easy way to to this. | |
| * The framework **alyways** tries to append the updated_at column | |
| * when the `$timestamps` property is not set to false. | |
| * See code here: https://github.com/illuminate/database/blob/5.4/Eloquent/Builder.php#L757-L760. |
| var Disclosure = function(el, options) { | |
| el.isActive = false; | |
| el.details = el.querySelectorAll('[data-details]'); | |
| el.hide = function() { | |
| for (var i = 0; i < el.details.length; i++) { | |
| el.details[i].style.display = 'none'; | |
| } | |
| }; | |
| el.show = function() { | |
| for (var i = 0; i < el.details.length; i++) { |
| <?php | |
| $payload = array( | |
| 'key' => 'YOUR-API-KEY', | |
| 'url' => 'https://www.youtube.com/' | |
| 'height' => 800, // Optional | |
| 'width' => 500 // Optional | |
| ); | |
| $payload = json_encode($payload); |
I hereby claim:
To claim this, I am signing this object: