Prefer https:// URLs when available in docs & comments

Fixes #737
This commit is contained in:
Jon Dufresne 2018-10-23 04:26:25 -07:00 committed by Adrien Crivelli
parent 98d10475f2
commit 5b3870c508
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
35 changed files with 52 additions and 52 deletions

View File

@ -14,7 +14,7 @@ This is:
### What are the steps to reproduce?
Please provide a [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve) of code that exhibits the issue without relying on an external Excel file or a web server:
Please provide a [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) of code that exhibits the issue without relying on an external Excel file or a web server:
```php
<?php

2
.github/support.yml vendored
View File

@ -4,7 +4,7 @@ supportLabel: question
# to a support page, or set to `false` to disable
supportComment: >
This looks like a support question. Please ask your support questions on
[StackOverflow](http://stackoverflow.com/questions/tagged/phpspreadsheet),
[StackOverflow](https://stackoverflow.com/questions/tagged/phpspreadsheet),
or [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).
Thank you for your contributions.

View File

@ -44,7 +44,7 @@ jobs:
- stage: API documentation
php: 7.2
before_script:
- curl -O http://get.sensiolabs.org/sami.phar
- curl -O https://get.sensiolabs.org/sami.phar
script:
- git fetch origin master:master
- git fetch origin --tags

View File

@ -103,7 +103,7 @@ confused with PhpSpreadsheet versions.
- Convert properties to string in OOCalc reader - @infojunkie [#276](https://github.com/PHPOffice/PHPExcel/issues/276)
- Disable libxml external entity loading by default. - @maartenba [#322](https://github.com/PHPOffice/PHPExcel/issues/322)
- This is to prevent XML External Entity Processing (XXE) injection attacks (see http://websec.io/2012/08/27/Preventing-XEE-in-PHP.html for an explanation of XXE injection).
- This is to prevent XML External Entity Processing (XXE) injection attacks (see https://websec.io/2012/08/27/Preventing-XEE-in-PHP.html for an explanation of XXE injection).
- Reference CVE-2014-2054
## [1.7.9] - 2013-06-02

View File

@ -2,8 +2,8 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
The format is based on [Keep a Changelog](https://keepachangelog.com)
and this project adheres to [Semantic Versioning](https://semver.org).
## [Unreleased]
@ -236,7 +236,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Start following [SemVer](http://semver.org) properly.
- Start following [SemVer](https://semver.org) properly.
### Fixed

View File

@ -10,7 +10,7 @@ Master:
[![Join the chat at https://gitter.im/PHPOffice/PhpSpreadsheet](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/PHPOffice/PhpSpreadsheet)
Develop:
[![Build Status](https://travis-ci.org/PHPOffice/PhpSpreadsheet.png?branch=develop)](http://travis-ci.org/PHPOffice/PhpSpreadsheet)
[![Build Status](https://travis-ci.org/PHPOffice/PhpSpreadsheet.png?branch=develop)](https://travis-ci.org/PHPOffice/PhpSpreadsheet)
[![Code Quality](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=develop)
[![Code Coverage](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=develop)
@ -20,7 +20,7 @@ PhpSpreadsheet is a library written in pure PHP and providing a set of classes t
Read more about it, including install instructions, in the [official documentation](https://phpspreadsheet.readthedocs.io). Or check out the [API documentation](https://phpoffice.github.io/PhpSpreadsheet/master).
Please ask your support questions on [StackOverflow](http://stackoverflow.com/questions/tagged/phpspreadsheet), or have a quick chat on [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).
Please ask your support questions on [StackOverflow](https://stackoverflow.com/questions/tagged/phpspreadsheet), or have a quick chat on [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).
## PHPExcel vs PhpSpreadsheet ?

View File

@ -8,15 +8,15 @@
"authors": [
{
"name": "Maarten Balliauw",
"homepage": "http://blog.maartenballiauw.be"
"homepage": "https://blog.maartenballiauw.be"
},
{
"name": "Mark Baker",
"homepage": "http://markbakeruk.net"
"homepage": "https://markbakeruk.net"
},
{
"name": "Franck Lefevre",
"homepage": "http://rootslabs.net"
"homepage": "https://rootslabs.net"
},
{
"name": "Erik Tilt"

2
composer.lock generated
View File

@ -1482,7 +1482,7 @@
}
],
"description": "The PHP Unit Testing framework.",
"homepage": "https://phpunit.de/",
"homepage": "https://phpunit.de",
"keywords": [
"phpunit",
"testing",

View File

@ -38,7 +38,7 @@ Support for PHP versions will only be maintained for a period of six months beyo
## Installation
Use [composer](https://getcomposer.org/) to install PhpSpreadsheet into your project:
Use [composer](https://getcomposer.org) to install PhpSpreadsheet into your project:
```sh
composer require phpoffice/phpspreadsheet

View File

@ -62,7 +62,7 @@ algebra. The former rule is not what one finds using the calculation
engine shipped with PhpSpreadsheet.
- [Reference for Excel](https://support.office.com/en-us/article/Calculation-operators-and-precedence-in-Excel-48be406d-4975-4d31-b2b8-7af9e0e2878a)
- [Reference for PHP](http://php.net/manual/en/language.operators.php)
- [Reference for PHP](https://php.net/manual/en/language.operators.php)
#### Formulas involving numbers and text
@ -74,7 +74,7 @@ formula is evaluated as 3 instead of evaluating as an error. This also
causes the Excel document being generated as containing unreadable
content.
- [Reference for this behaviour in PHP](http://php.net/manual/en/language.types.string.php#language.types.string.conversion)
- [Reference for this behaviour in PHP](https://php.net/manual/en/language.types.string.php#language.types.string.conversion)
#### Formulas dont seem to be calculated in Excel2003 using compatibility pack?

View File

@ -15,7 +15,7 @@ file format that was used by Microsoft Excel™ between versions 95 and 2003.
The format is supported (to various extents) by most spreadsheet
programs. BIFF files normally have an extension of .xls. Documentation
describing the format can be [read online](https://msdn.microsoft.com/en-us/library/cc313154(v=office.12).aspx)
or [downloaded as PDF](http://download.microsoft.com/download/2/4/8/24862317-78F0-4C4B-B355-C7B2C1D997DB/%5BMS-XLS%5D.pdf).
or [downloaded as PDF](https://download.microsoft.com/download/2/4/8/24862317-78F0-4C4B-B355-C7B2C1D997DB/%5BMS-XLS%5D.pdf).
### Xml
@ -32,7 +32,7 @@ Office Open XML SpreadsheetML, and Excel 2010 extended this still
further with its new features such as sparklines. These files typically
have an extension of .xlsx. This format is based around a zipped
collection of eXtensible Markup Language (XML) files. Microsoft Office
Open XML SpreadsheetML is mostly standardized in [ECMA 376](http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm)
Open XML SpreadsheetML is mostly standardized in [ECMA 376](https://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm)
and ISO 29500.
### Ods
@ -46,7 +46,7 @@ extension of .ods. The published specification for the file format is
available from [the OASIS Open Office XML Format Technical Committee web
page](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office).
Other information is available from [the OpenOffice.org XML File Format
web page](http://www.openoffice.org/xml/), part of the
web page](https://www.openoffice.org/xml/), part of the
OpenOffice.org project.
### Slk

View File

@ -9,7 +9,7 @@ workbooks, although at a cost of speed to access cell data.
By default, PhpSpreadsheet holds all cell objects in memory, but
you can specify alternatives by providing your own
[PSR-16](http://www.php-fig.org/psr/psr-16/) implementation. PhpSpreadsheet keys
[PSR-16](https://www.php-fig.org/psr/psr-16/) implementation. PhpSpreadsheet keys
are automatically namespaced, and cleaned up after use, so a single cache
instance may be shared across several usage of PhpSpreadsheet or even with other
cache usages.
@ -44,7 +44,7 @@ usage of PhpSpreadsheet.
PhpSpreadsheet does not ship with alternative cache implementation. It is up to
you to select the most appropriate implementation for your environment. You
can either implement [PSR-16](http://www.php-fig.org/psr/psr-16/) from scratch,
can either implement [PSR-16](https://www.php-fig.org/psr/psr-16/) from scratch,
or use [pre-existing libraries](https://packagist.org/search/?q=psr-16).
One such library is [PHP Cache](https://www.php-cache.com/) which

View File

@ -236,7 +236,7 @@ Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::cla
### PclZip and ZipArchive
Support for PclZip were dropped in favor of the more complete and modern
[PHP extension ZipArchive](http://php.net/manual/en/book.zip.php).
[PHP extension ZipArchive](https://php.net/manual/en/book.zip.php).
So the following were removed:
- `PclZip`
@ -248,7 +248,7 @@ So the following were removed:
### Cell caching
Cell caching was heavily refactored to leverage
[PSR-16](http://www.php-fig.org/psr/psr-16/). That means most classes
[PSR-16](https://www.php-fig.org/psr/psr-16/). That means most classes
related to that feature were removed:
- `PHPExcel_CachedObjectStorage_APC`

View File

@ -183,7 +183,7 @@ lower-featured Office2007 spreadsheet when this option is used.
Xls file format is the old Excel file format, implemented in
PhpSpreadsheet to provide a uniform manner to create both .xlsx and .xls
files. It is basically a modified version of [PEAR
Spreadsheet\_Excel\_Writer](http://pear.php.net/package/Spreadsheet_Excel_Writer),
Spreadsheet\_Excel\_Writer](https://pear.php.net/package/Spreadsheet_Excel_Writer),
although it has been extended and has fewer limitations and more
features than the old PEAR library. This can read all BIFF versions that
use OLE2: BIFF5 (introduced with office 95) through BIFF8, but cannot

View File

@ -15,7 +15,7 @@ $gdImage = @imagecreatetruecolor(120, 20);
$textColor = imagecolorallocate($gdImage, 255, 255, 255);
imagestring($gdImage, 1, 5, 5, 'Created with PhpSpreadsheet', $textColor);
$baseUrl = 'https://phpspreadsheet.readthedocs.io/';
$baseUrl = 'https://phpspreadsheet.readthedocs.io';
$drawing = new \PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing();
$drawing->setName('In-Memory image 1');

View File

@ -549,7 +549,7 @@
<Data ss:Type="String">AE</Data>
</Cell>
<Cell ss:StyleID="ce5"/>
<Cell ss:StyleID="ce5" ss:HRef="http://phpspreadsheet.readthedocs.io/">
<Cell ss:StyleID="ce5" ss:HRef="https://phpspreadsheet.readthedocs.io">
<Data ss:Type="String">PhpSpreadsheet</Data>
</Cell>
<Cell ss:StyleID="ce5"/>
@ -22310,7 +22310,7 @@
<Cell ss:StyleID="ce16"/>
</Row>
<Row ss:Height="13.4079">
<Cell ss:MergeAcross="2" ss:HRef="https://www.example.com/" ss:StyleID="ce17">
<Cell ss:MergeAcross="2" ss:HRef="https://www.example.com" ss:StyleID="ce17">
<Data ss:Type="String">PhpSpreadsheet</Data>
</Cell>
<Cell ss:Index="1024" ss:StyleID="ce13"/>

View File

@ -21,8 +21,8 @@ namespace PhpOffice\PhpSpreadsheet\Calculation;
* whether in an action of contract, tort or otherwise, arising from, out of or in connection with the
* software or the use or other dealings in the software.
*
* http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html
* http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html
* https://ewbi.blogs.com/develops/2007/03/excel_formula_p.html
* https://ewbi.blogs.com/develops/2004/12/excel_formula_p.html
*/
class FormulaParser
{

View File

@ -21,8 +21,8 @@ namespace PhpOffice\PhpSpreadsheet\Calculation;
* whether in an action of contract, tort or otherwise, arising from, out of or in connection with the
* software or the use or other dealings in the software.
*
* http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html
* http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html
* https://ewbi.blogs.com/develops/2007/03/excel_formula_p.html
* https://ewbi.blogs.com/develops/2004/12/excel_formula_p.html
*/
class FormulaToken
{

View File

@ -1169,7 +1169,7 @@ class Statistical
* Returns the smallest value for which the cumulative binomial distribution is greater
* than or equal to a criterion value
*
* See http://support.microsoft.com/kb/828117/ for details of the algorithm used
* See https://support.microsoft.com/en-us/help/828117/ for details of the algorithm used
*
* @param float $trials number of Bernoulli trials
* @param float $probability probability of a success on each trial

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,7 +1,7 @@
##
## PhpSpreadsheet
##
## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/
## Data in this file derived from https://www.excel-function-translation.com/
##
##

View File

@ -1,5 +1,5 @@
ChartDirector
http://www.advsofteng.com/cdphp.html
https://www.advsofteng.com/cdphp.html
GraPHPite
http://graphpite.sourceforge.net/
@ -8,13 +8,13 @@ JpGraph
http://www.aditus.nu/jpgraph/
LibChart
http://naku.dohcrew.com/libchart/pages/introduction/
https://naku.dohcrew.com/libchart/pages/introduction/
pChart
http://pchart.sourceforge.net/
TeeChart
http://www.steema.com/products/teechart/overview.html
https://www.steema.com/
PHPGraphLib
http://www.ebrueggeman.com/phpgraphlib

View File

@ -32,7 +32,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
// --------------------------------------------------------------------------------
// Adapted from Excel_Spreadsheet_Reader developed by users bizon153,
// trex005, and mmp11 (SourceForge.net)
// http://sourceforge.net/projects/phpexcelreader/
// https://sourceforge.net/projects/phpexcelreader/
// Primary changes made by canyoncasa (dvc) for ParseXL 1.00 ...
// Modelled moreso after Perl Excel Parse/Write modules
// Added Parse_Excel_Spreadsheet object
@ -1817,7 +1817,7 @@ class Xls extends BaseReader
*
* The decryption functions and objects used from here on in
* are based on the source of Spreadsheet-ParseExcel:
* http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/
* https://metacpan.org/release/Spreadsheet-ParseExcel
*/
private function readFilepass()
{
@ -2148,7 +2148,7 @@ class Xls extends BaseReader
* XF - Extended Format.
*
* This record contains formatting information for cells, rows, columns or styles.
* According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF
* According to https://support.microsoft.com/en-us/help/147732 there are always at least 15 cell style XF
* and 1 cell XF.
* Inspection of Excel files generated by MS Office Excel shows that XF records 0-14 are cell style XF
* and XF record 15 is a cell XF

View File

@ -16,7 +16,7 @@ use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
*
* @version 1.8
*
* @see http://math.nist.gov/javanumerics/jama/
* @see https://math.nist.gov/javanumerics/jama/
*/
class Matrix
{

View File

@ -93,7 +93,7 @@ class XmlTest extends TestCase
self::assertEquals(DataType::TYPE_STRING, $hyperlink->getDataType());
self::assertEquals('PhpSpreadsheet', $hyperlink->getValue());
self::assertEquals('http://phpspreadsheet.readthedocs.io/', $hyperlink->getHyperlink()->getUrl());
self::assertEquals('https://phpspreadsheet.readthedocs.io', $hyperlink->getHyperlink()->getUrl());
}
public function testReadWithoutStyle()