Page MenuHomePhorge
Paste Active Pastes
  • <?php
    final class CelerityStuffFromExtensions extends CelerityResourcesOnDisk {
    private $map;
    ...
    • Mon, Feb 12, 19:45
    • 35 Lines
    • PHP
  • bison --verbose --name-prefix=xhpast --defines=parser.yacc.hpp --output=parser.yacc.cpp parser.y
    flex -CFr --header-file=scanner.lex.hpp --outfile=scanner.lex.cpp scanner.l
    • Tue, Feb 6, 02:16
    • 3 Lines
  • REM Generate parser_nodes.php and node_names.hpp
    php -f ./bin/xhpast-generate-nodes.php
    REM Compile the parser and scanner, resulting in parser.yacc.o and scanner.lex.o
    ...
    • Tue, Feb 6, 02:16
    • 11 Lines
  • #ifndef _UNISTD_H
    #define _UNISTD_H 1
    /* This is intended as a drop-in replacement for unistd.h on Windows.
    * Please add functionality as needed.
    * https://stackoverflow.com/a/826027/1202830
    ...
    • Tue, Feb 6, 02:12
    • 57 Lines
    • C
  • #!/usr/bin/env php
    <?php
    require_once 'scripts/__init_script__.php';
    ...
    • Nov 24 2023, 17:09
    • 26 Lines
    • PHP
  • $ arc patch D25458
    Created and checked out branch arcpatch-D25458.
    Checking patch src/applications/settings/controller/PhabricatorSettingsTimezoneController.php...
    Applied patch src/applications/settings/controller/PhabricatorSettingsTimezoneController.php cleanly.
    COMMITTED Successfully committed patch.
    ...
    • Nov 9 2023, 22:55
    • 36 Lines
  • P24 T15642
    diff --git a/src/applications/feed/query/PhabricatorFeedTransactionQuery.php b/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
    index d0a9f53e35..42ee332c1c 100644
    --- a/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
    +++ b/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
    @@ -155,6 +155,20 @@ final class PhabricatorFeedTransactionQuery
    ...
    • Nov 1 2023, 22:24
    • 38 Lines
    • Diff
  • $ arc diff master --update D25425
    Launching editor "micro"...
    Update the revision comments, then save and exit.
    Linting...
    Exception
    ...
    • Sep 24 2023, 09:08
    • 136 Lines
  • diff --git a/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php b/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
    index 742e4a159f..f0be05f2b4 100644
    --- a/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
    +++ b/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
    @@ -70,7 +70,8 @@ final class PhabricatorRepositoryIdentityEditEngine
    ...
    • Aug 25 2023, 18:52
    • 14 Lines
    • Aug 18 2023, 02:42
    • 1 Line
    • Aug 18 2023, 02:39
    • 1 Line
  • [2023-08-12 17:35:44] EXCEPTION: (Exception) HMAC-SHA256 can only digest strings. at [<phorge>/src/infrastructure/util/PhabricatorHash.php:191]
    arcanist(head=stable, ref.master=4b3baca999a4, ref.stable=c2cd19e14cd8), phorge(head=stable, ref.master=b2ab18f8f3d0, ref.stable=52be52d429ce, custom=1)
    #0 PhabricatorHash::digestHMACSHA256(NULL, string) called at [<phorge>/src/infrastructure/util/PhabricatorHash.php:186]
    #1 PhabricatorHash::digestWithNamedKey(NULL, string) called at [<phorge>/src/applications/files/engine/PhabricatorFileStorageEngine.php:374]
    #2 PhabricatorFileStorageEngine::newIntegrityHash(NULL, PhabricatorFileRawStorageFormat) called at [<phorge>/src/applications/files/engine/PhabricatorFileStorageEngine.php:340]
    ...
    • Aug 12 2023, 17:41
    • 11 Lines
    • PHP
  • GlobalSign Root CA
    Identity: GlobalSign Root CA
    Verified by: GlobalSign Root CA
    Expires: 28/01/2028
    ...
    • Jun 17 2023, 15:30
    • 978 Lines
  • With lang=php
    ```lang=php
    $something = "asd";
    ```
    ...
    • Jun 16 2023, 09:26
    • 49 Lines
    • Remarkup
  • P15 T15477
    diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
    index 941ec6220d..59e3c58038 100644
    --- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
    +++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
    @@ -602,27 +602,32 @@ final class PhabricatorCalendarEvent extends PhabricatorCalendarDAO
    ...
    • Jun 14 2023, 20:04
    • 42 Lines
  • diff --git a/src/applications/people/conduit/UserQueryConduitAPIMethod.php b/src/applications/people/conduit/UserQueryConduitAPIMethod.php
    index df0ec65841..0a99ab437e 100644
    --- a/src/applications/people/conduit/UserQueryConduitAPIMethod.php
    +++ b/src/applications/people/conduit/UserQueryConduitAPIMethod.php
    @@ -80,11 +80,22 @@ final class UserQueryConduitAPIMethod extends UserConduitAPIMethod {
    ...
    • Jun 13 2023, 13:32
    • 31 Lines
    • Diff
  • P13 T15443
    diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
    index 3d8570b4f7..efebb42f48 100644
    --- a/src/__phutil_library_map__.php
    +++ b/src/__phutil_library_map__.php
    @@ -4622,6 +4622,7 @@ phutil_register_library_map(array(
    ...
    • Jun 3 2023, 12:06
    • 70 Lines
    • Diff
  • 10:21:05 [error] 15637#15637: *227 FastCGI sent in stderr: "PHP message: [2023-05-12 07:21:05] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]; PHP message: arcanist(head=master, ref.master=c14785c3795c), phorge(head=4d9719539773167058cf2b6bf6309945f1c5adba, ref.master=ea9cb0b625fb); PHP message: #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/differential/conduit/DifferentialGetCommitMessageConduitAPIMethod.php:118]; PHP message: #1 <#2> DifferentialGetCommitMessageConduitAPIMethod::execute(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/method/ConduitAPIMethod.php:156]; PHP message: #2 <#2> ConduitAPIMethod::executeMethod(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/call/ConduitCall.php:131]; PHP message: #3 <#2> ConduitCall::executeMethod() called at [<phorge>/src/applications/conduit/call/ConduitCall.php:81]; PHP message: #4 <#2> ConduitCall::execute() called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:83]; PHP message: #5 phlog(RuntimeException) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:111]; PHP message: #6 PhabricatorConduitAPIController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]; PHP message: #7 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]; PHP message: #8 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]" while reading response header from upstream, client: 192.168.1.1, server: phabricator.tdrhq.com, request: "POST /api/differential.getcommitmessage HTTP/1.1", upstream: "fastcgi://unix
    2023/05/12 10:23:07 [error] 15640#15640: *247 FastCGI sent in stderr: "PHP message: [2023-05-12 07:23:07] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]; PHP message: arcanist(head=master, ref.master=c14785c3795c), phorge(head=arnold-fixes, ref.master=ea9cb0b625fb, ref.arnold-fixes=8b3f20f64b17); PHP message: #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/differential/field/DifferentialRevisionIDCommitMessageField.php:75]; PHP message: #1 <#2> DifferentialRevisionIDCommitMessageField::renderFieldValue(NULL) called at [<phorge>/src/applications/differential/conduit/DifferentialGetCommitMessageConduitAPIMethod.php:103]; PHP message: #2 <#2> DifferentialGetCommitMessageConduitAPIMethod::execute(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/method/ConduitAPIMethod.php:156]; PHP message: #3 <#2> ConduitAPIMethod::executeMethod(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/call/ConduitCall.php:131]; PHP message: #4 <#2> ConduitCall::executeMethod() called at [<phorge>/src/applications/conduit/call/ConduitCall.php:81]; PHP message: #5 <#2> ConduitCall::execute() called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:83]; PHP message: #6 phlog(RuntimeException) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:111]; PHP message: #7 PhabricatorConduitAPIController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]; PHP message: #8 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]; PHP message: #9 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/i
    2023/05/12 10:23:40 [error] 15640#15640: *253 FastCGI sent in stderr: "PHP message: [2023-05-12 07:23:40] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]; PHP message: arcanist(head=master, ref.master=c14785c3795c), phorge(head=arnold-fixes, ref.master=ea9cb0b625fb, ref.arnold-fixes=8b3f20f64b17); PHP message: #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/files/storage/PhabricatorFile.php:291]; PHP message: #1 <#2> PhabricatorFile::newChunkedFile(PhabricatorChunkedFileStorageEngine, integer, array) called at [<phorge>/src/applications/files/engine/PhabricatorChunkedFileStorageEngine.php:114]; PHP message: #2 <#2> PhabricatorChunkedFileStorageEngine::allocateChunks(integer, array) called at [<phorge>/src/applications/files/conduit/FileAllocateConduitAPIMethod.php:116]; PHP message: #3 <#2> FileAllocateConduitAPIMethod::execute(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/method/ConduitAPIMethod.php:156]; PHP message: #4 <#2> ConduitAPIMethod::executeMethod(ConduitAPIRequest) called at [<phorge>/src/applications/conduit/call/ConduitCall.php:131]; PHP message: #5 <#2> ConduitCall::executeMethod() called at [<phorge>/src/applications/conduit/call/ConduitCall.php:81]; PHP message: #6 <#2> ConduitCall::execute() called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:83]; PHP message: #7 phlog(RuntimeException) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:111]; PHP message: #8 PhabricatorConduitAPIController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]; PHP message: #9 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplication
    2023/05/12 10:23:40 [error] 15640#15640: *253 client intended to send too large body: 9722987 bytes, client: 192.168.1.1, server: phabricator.tdrhq.com, request: "POST /api/file.upload HTTP/1.1", host: "phabricator.tdrhq.com"
    2023/05/12 10:24:42 [error] 15640#15640: *270 FastCGI sent in stderr: "PHP message: [2023-05-12 07:24:42] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]; PHP message: arcanist(head=master, ref.master=c14785c3795c), phorge(head=arnold-fixes, ref.master=ea9cb0b625fb, ref.arnold-fixes=8b3f20f64b17); PHP message: #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/repository/storage/PhabricatorRepositoryURI.php:755]; PHP message: #1 <#2> PhabricatorRepositoryURI::getURINormalizerDomainMap() called at [<phorge>/src/applications/repository/query/PhabricatorRepositoryQuery.php:692]; PHP message: #2 <#2> PhabricatorRepositoryQuery::getNormalizedURIs() called at [<phorge>/src/applications/repository/query/PhabricatorRepositoryQuery.php:660]; PHP message: #3 <#2> PhabricatorRepositoryQuery::buildWhereClauseParts(AphrontMySQLiDatabaseConnection) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:505]; PHP message: #4 <#2> PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause(AphrontMySQLiDatabaseConnection) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:328]; PHP message: #5 <#2> PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery(AphrontMySQLiDatabaseConnection, string) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:302]; PHP message: #6 <#2> PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection(AphrontMySQLiDatabaseConnection, string) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:293]; PHP message: #7 <#2> PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows(PhabricatorRepository) called at [<phorge>/src/applications/repository/query/PhabricatorRepositoryQuery.php:201]; PHP message: #8 <#2> PhabricatorRepo
    ...
    • May 12 2023, 15:09
    • 61 Lines
  • [2023-05-03 14:17:57] PHLOG: 'Webserver user cannot list remotes. Command: git remote -v Exit: 128 Error: fatal: detected dubious ownership in repository at '/var/www/html/phorge/phorge'
    To add an exception for this directory, call:
    git config --global --add safe.directory /var/www/html/phorge/phorge
    ' at [/var/www/html/phorge/phorge/src/applications/config/controller/PhabricatorConfigConsoleController.php:202]
    ...
    • May 3 2023, 14:19
    • 57 Lines
  • <?php
    /**
    * Rector.php configuration to remove very legacy PHP < 5.5 stuff from
    * Phorge/Phabricator and Arcanist.
    *
    ...
    • Mar 6 2023, 06:34
    • 95 Lines
    • PHP
  • <?php
    /**
    * Rector.php configuration to remove very legacy PHP < 5.5 stuff from
    * Phorge/Phabricator and Arcanist.
    *
    ...
    • Mar 6 2023, 06:27
    • 107 Lines
    • PHP
  • --- arcanist/src/repository/api/ArcanistGitAPI.php.orig 2022-05-02 20:03:00.802722862 +0000
    +++ arcanist/src/repository/api/ArcanistGitAPI.php 2022-05-02 20:03:40.072809150 +0000
    @@ -16,11 +16,11 @@
    private $symbolicHeadCommit;
    ...
    • May 2 2022, 20:04
    • 27 Lines
  • 67d87426e1de (HEAD -> wmf/stable, tag: release/2022-02-03/1, origin/wmf/stable) Don't show default status icon on workboard cards (fixes T297249)
    4f4cae8e183d Limit task merges to 5 tasks per transaction (fixes T298063)
    ebfe30890b52 Add column sequence to the conduit api results for column.search
    00b4ad5fac93 add task phid to the response in ManiphestProjectTaskTransactionsConduitAPIMethod
    dd7aec132de3 Fix links to task search by age from the project reports page
    ...
    • Mar 25 2022, 07:50
    • 262 Lines
    • Plain Text
  • {
    "%s (%s) has changed your Phabricator username.": {
    "uses": [
    {
    "file": "/applications/people/mail/PhabricatorPeopleUsernameMailEngine.php",
    ...
    • Jun 23 2021, 22:38
    • 4,609 Lines
    • JSON