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 | |
declare(strict_types=1); | |
/** | |
* Partial copy of https://github.com/reactphp/promise/blob/3.x/src/PromiseInterface.php | |
* @template-covariant T | |
*/ | |
interface PromiseInterface | |
{ |
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 | |
declare(strict_types=1); | |
/* | |
* This file is part of the overtrue/phplint package | |
* | |
* (c) overtrue | |
* | |
* This source file is subject to the MIT license that is bundled |
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 | |
use PHPStan\ShouldNotHappenException; | |
use PHPStan\Type\Constant\ConstantArrayTypeBuilder; | |
require __DIR__ . '/vendor/autoload.php'; | |
// 1. Read the grammar. | |
$grammar = new Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); |
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 | |
namespace a\spaceX; | |
class MailAddressList | |
{ | |
const MAIL_LIST = [ | |
'a', | |
'b', | |
'c', | |
'd', |
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 | |
$queryString = ' | |
SELECT | |
land.*, | |
COALESCE(NULLIF(landsprache.ort, ""), land.ort) AS ort | |
FROM land | |
INNER JOIN landsprache ON (land.landid=landsprache.landid and landsprache.spracheid = ?) | |
WHERE (webinaktiv = 0) ORDER BY COALESCE(NULLIF(landsprache.ort, ""), land.ort) ASC |
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 --staged | |
diff --git a/redaxo/src/addons/project/lib/user_export.php b/redaxo/src/addons/project/lib/user_export.php | |
new file mode 100644 | |
index 000000000..26a85625e | |
--- /dev/null | |
+++ b/redaxo/src/addons/project/lib/user_export.php | |
@@ -0,0 +1,25 @@ | |
+<?php | |
+ | |
+use Symfony\Component\Console\Input\InputInterface; |
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
🌞 Morning 62 commits ███████▋░░░░░░░░░░░░░ 36.5% | |
🌆 Daytime 32 commits ███▉░░░░░░░░░░░░░░░░░ 18.8% | |
🌃 Evening 70 commits ████████▋░░░░░░░░░░░░ 41.2% | |
🌙 Night 6 commits ▋░░░░░░░░░░░░░░░░░░░░ 3.5% |
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
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body> | |
<CATALOG> | |
<CD> | |
<TITLE>Empire Burlesque</TITLE> | |
<ARTIST>Bob Dylan</ARTIST> | |
<COUNTRY>USA</COUNTRY> | |
<COMPANY>Columbia</COMPANY> | |
<PRICE>10.90</PRICE> | |
<YEAR>1985</YEAR> | |
</CD> |
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 | |
class FileSessionHandler implements SessionHandlerInterface | |
{ | |
/** | |
* time in milliseconds how fast to poll the filesystem for a file-lock | |
* in case it cannot be acquired / is (b)locked by other resources. | |
* | |
* @var int | |
* @internal |
NewerOlder