1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-23 23:12:09 +01:00

build(deps): bump actions/upload-artifact from 6 to 7 (#377)

* Add DOMException mention to DOM error sections

* Improve SQLite createFunction example

* DATE_ATOM: refer to RFC 3339, not 3399

* build(deps): bump actions/upload-artifact from 6 to 7
This commit is contained in:
Louis-Arnaud
2026-03-03 11:27:42 +01:00
committed by GitHub
parent dba956f5d2
commit 1cb8eb999f
2 changed files with 9 additions and 2 deletions

View File

@@ -46,3 +46,10 @@ jobs:
- name: "Build documentation for ${{ matrix.language }}"
run: "php8.1 doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=${{ matrix.language }}"
- name: "Upload .manual.xml"
uses: actions/upload-artifact@v7
with:
name: .manual.xml
path: doc-base/.manual.xml
include-hidden-files: true

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 51610360d58ed09bc9d1312f419057c0d1d1a998 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 28930349caaaa78f908c380e44066d37a70e97b8 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="pdo-sqlite.createfunction" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -136,7 +136,7 @@ function sha256_and_reverse($string)
}
$db = new Pdo\Sqlite('sqlite::sqlitedb');
$db->sqliteCreateFunction('sha256rev', 'sha256_and_reverse', 1);
$db->createFunction('sha256rev', 'sha256_and_reverse', 1);
$rows = $db->query('SELECT sha256rev(filename) FROM files')->fetchAll();
?>
]]>