This file contains 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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
This file contains 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 | |
/* | |
* This file is part of the Zero Dechet project. | |
* | |
* (c) Vincent Chalamon <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains 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
liip_monitor: | |
# enabling the controller requires that `assets` are enabled in the framework bundle | |
enable_controller: false | |
checks: | |
php_extensions: | |
- amqp | |
- apcu | |
- curl | |
- date | |
- dom |
This file contains 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
git diff --name-only origin/$CI_COMMIT_REF_NAME $(git merge-base origin/$CI_COMMIT_REF_NAME origin/develop) | grep CHANGELOG.md > /dev/null 2>&1 |
This file contains 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
Cypress.Server.defaults({ | |
whitelist: xhr => { | |
return (new RegExp(`^${Cypress.config().baseUrl}/_`.replace('/', '\/'))).test(xhr.url) | |
|| /\.(jsx?|html|css)(\?.*)?$/.test(xhr.url); | |
} | |
}); |
This file contains 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
before(() => { | |
Cypress.log({}); | |
cy.request('https://unpkg.com/[email protected]/dist/unfetch.umd.js', {log: false}).as('unfetch').then(unfetch => { | |
Cypress.on('window:before:load', win => { | |
delete win.fetch; | |
win.eval(unfetch); | |
win.fetch = win.unfetch; | |
}); | |
}); |
This file contains 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
Cypress.Cookies.defaults({ | |
whitelist: 'PHPSESSID', | |
}); |
This file contains 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
Cypress.Commands.add('iframe', { | |
prevSubject: 'element', | |
}, $iframe => { | |
const contentWindow = $iframe.prop('contentWindow'); | |
return new Promise(resolve => { | |
if (contentWindow && contentWindow.document.readyState === 'complete') { | |
resolve(contentWindow); | |
} else { | |
$iframe.on('load', () => { |
This file contains 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
#!/usr/bin/env php | |
<?php | |
/** | |
* Create the bin/reserved file in your project, and copy/paste this as content | |
* Add execution permissions: chmod +x bin/reserved | |
*/ | |
set_time_limit(0); |
OlderNewer